diff --git a/.changeset/afraid-clouds-care.md b/.changeset/afraid-clouds-care.md deleted file mode 100644 index 27aafbed25d..00000000000 --- a/.changeset/afraid-clouds-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@thirdweb-dev/sdk": patch ---- - -ZkSync Sepolia addresses diff --git a/.changeset/cool-parents-enjoy.md b/.changeset/cool-parents-enjoy.md deleted file mode 100644 index 0e91b893ec6..00000000000 --- a/.changeset/cool-parents-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@thirdweb-dev/react-native": patch ---- - -Reports only react-nativec diff --git a/.changeset/five-walls-smash.md b/.changeset/five-walls-smash.md deleted file mode 100644 index b7d0cbad756..00000000000 --- a/.changeset/five-walls-smash.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@thirdweb-dev/react": patch ---- - -Add prop `switchNetworkBtnTitle` to `ConnectWallet` and `Web3Button` components to allow changing the "Switch Network" label on the button which is displayed when user needs to switch the network in the connected wallet. - -```tsx - -``` - -```tsx - -``` diff --git a/.changeset/poor-kids-wink.md b/.changeset/poor-kids-wink.md deleted file mode 100644 index 7c477097753..00000000000 --- a/.changeset/poor-kids-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@thirdweb-dev/chains": patch ---- - -synced chains package with chains db diff --git a/.changeset/serious-ears-beam.md b/.changeset/serious-ears-beam.md deleted file mode 100644 index bf45b119130..00000000000 --- a/.changeset/serious-ears-beam.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"@thirdweb-dev/react": patch ---- - -add `useSetWalletModalConfig` hook to customize the ConnectWallet Modal to programmatically open the modal without using the `ConnectWallet` component along with `useSetIsWalletModalOpen` - -```tsx -import { - useSetWalletModalConfig, - useSetIsWalletModalOpen, -} from "@thirdweb-dev/react"; - -function Example() { - const setWalletModalConfig = useSetWalletModalConfig(); - const setIsWalletModalOpen = useSetIsWalletModalOpen(); - - return ( - - ); -} -``` diff --git a/.changeset/smart-ads-draw.md b/.changeset/smart-ads-draw.md deleted file mode 100644 index 3f2fd623973..00000000000 --- a/.changeset/smart-ads-draw.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"@thirdweb-dev/react-native": patch ---- - -Exports standalone ConnectEmbed UI - -Devs can now show the Connect modal UI directly into their apps. -This component will render the wallets defined in our ThirdwebProvider. - -```tsx - { - console.log("wallet connected"); - }} - container={{ - paddingVertical: "md", - marginHorizontal: "md", - borderRadius: "md", - }} -/> -``` diff --git a/.changeset/smart-poets-provide.md b/.changeset/smart-poets-provide.md deleted file mode 100644 index 786d6396316..00000000000 --- a/.changeset/smart-poets-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@thirdweb-dev/react": patch ---- - -Bump fuse.js from 6.6.2 to 7.0.0 diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 56dd787f2c0..1600946bef1 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -1,5 +1,12 @@ # @thirdweb-dev/auth +## 4.1.24 + +### Patch Changes + +- Updated dependencies []: + - @thirdweb-dev/wallets@2.4.2 + ## 4.1.23 ### Patch Changes diff --git a/packages/auth/package.json b/packages/auth/package.json index 1705f505896..b21dc483284 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@thirdweb-dev/auth", - "version": "4.1.23", + "version": "4.1.24", "main": "dist/thirdweb-dev-auth.cjs.js", "module": "dist/thirdweb-dev-auth.esm.js", "browser": { diff --git a/packages/chains/CHANGELOG.md b/packages/chains/CHANGELOG.md index 7f5c69d50ee..baf282c567c 100644 --- a/packages/chains/CHANGELOG.md +++ b/packages/chains/CHANGELOG.md @@ -1,5 +1,11 @@ # @thirdweb-dev/chains +## 0.1.64 + +### Patch Changes + +- [#2187](https://github.com/thirdweb-dev/js/pull/2187) [`e21f7bb1`](https://github.com/thirdweb-dev/js/commit/e21f7bb171334fa3003c954060e60c1ce8c1228f) Thanks [@gerrysaporito](https://github.com/gerrysaporito)! - synced chains package with chains db + ## 0.1.63 ### Patch Changes diff --git a/packages/chains/package.json b/packages/chains/package.json index 650ae62eb73..0cd6188c321 100644 --- a/packages/chains/package.json +++ b/packages/chains/package.json @@ -1,6 +1,6 @@ { "name": "@thirdweb-dev/chains", - "version": "0.1.63", + "version": "0.1.64", "main": "dist/thirdweb-dev-chains.cjs.js", "module": "dist/thirdweb-dev-chains.esm.js", "exports": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 0a5fbea3de5..49104cab7dc 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,15 @@ # thirdweb +## 0.13.32 + +### Patch Changes + +- Updated dependencies [[`9a23de2b`](https://github.com/thirdweb-dev/js/commit/9a23de2be0c47a7a3702d65041ff654159d8e264), [`e21f7bb1`](https://github.com/thirdweb-dev/js/commit/e21f7bb171334fa3003c954060e60c1ce8c1228f)]: + - @thirdweb-dev/sdk@4.0.27 + - @thirdweb-dev/chains@0.1.64 + - @thirdweb-dev/wallets@2.4.2 + - @thirdweb-dev/auth@4.1.24 + ## 0.13.31 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 55b476b1299..1917b3b5a6a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "thirdweb", "main": "dist/cli/index.js", - "version": "0.13.31", + "version": "0.13.32", "repository": "https://github.com/thirdweb-dev/js/tree/main/packages/cli", "author": "thirdweb eng ", "license": "Apache-2.0", diff --git a/packages/react-core/CHANGELOG.md b/packages/react-core/CHANGELOG.md index cf9d85587eb..32403e48390 100644 --- a/packages/react-core/CHANGELOG.md +++ b/packages/react-core/CHANGELOG.md @@ -1,5 +1,15 @@ # @thirdweb-dev/react-core +## 4.3.2 + +### Patch Changes + +- Updated dependencies [[`9a23de2b`](https://github.com/thirdweb-dev/js/commit/9a23de2be0c47a7a3702d65041ff654159d8e264), [`e21f7bb1`](https://github.com/thirdweb-dev/js/commit/e21f7bb171334fa3003c954060e60c1ce8c1228f)]: + - @thirdweb-dev/sdk@4.0.27 + - @thirdweb-dev/chains@0.1.64 + - @thirdweb-dev/wallets@2.4.2 + - @thirdweb-dev/auth@4.1.24 + ## 4.3.1 ## 4.3.0 diff --git a/packages/react-core/package.json b/packages/react-core/package.json index ef6407709cb..16ea5f84f6f 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -1,6 +1,6 @@ { "name": "@thirdweb-dev/react-core", - "version": "4.3.1", + "version": "4.3.2", "repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-core", "author": "thirdweb eng ", "license": "Apache-2.0", diff --git a/packages/react-core/typedoc/documentation.json b/packages/react-core/typedoc/documentation.json new file mode 100644 index 00000000000..3258ddc440f --- /dev/null +++ b/packages/react-core/typedoc/documentation.json @@ -0,0 +1,44169 @@ +{ + "id": 0, + "name": "@thirdweb-dev/react-core", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 247, + "name": "ISecureStorage", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Secure storage interface for storing auth tokens.\n\nThe implementation of this interface should provide a secure way to store values. Either by encrypting the values or by storing them in a secure location." + } + ], + "blockTags": [ + { + "tag": "@auth", + "content": [] + } + ] + }, + "children": [ + { + "id": 248, + "name": "getItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 10, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L10" + } + ], + "signatures": [ + { + "id": 249, + "name": "getItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 10, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L10" + } + ], + "parameters": [ + { + "id": 250, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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": 255, + "name": "removeItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 12, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L12" + } + ], + "signatures": [ + { + "id": 256, + "name": "removeItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 12, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L12" + } + ], + "parameters": [ + { + "id": 257, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 251, + "name": "setItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L11" + } + ], + "signatures": [ + { + "id": 252, + "name": "setItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L11" + } + ], + "parameters": [ + { + "id": 253, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 254, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 248, + 255, + 251 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 9, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L9" + } + ] + }, + { + "id": 243, + "name": "ThirdwebAuthConfig", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configuration to use by the React and React Native SDKs with an [auth](https://portal.thirdweb.com/wallets/auth) server." + } + ], + "blockTags": [ + { + "tag": "@auth", + "content": [] + } + ] + }, + "children": [ + { + "id": 244, + "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/src/evm/contexts/thirdweb-auth.tsx", + "line": 24, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 245, + "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/src/evm/contexts/thirdweb-auth.tsx", + "line": 30, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 246, + "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 application (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/src/evm/contexts/thirdweb-auth.tsx", + "line": 41, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L41" + } + ], + "type": { + "type": "reference", + "target": 247, + "name": "ISecureStorage", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 244, + 245, + 246 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/contexts/thirdweb-auth.tsx", + "line": 19, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/contexts/thirdweb-auth.tsx#L19" + } + ] + }, + { + "id": 9, + "name": "ThirdwebProviderCoreProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible props for the ThirdwebProvider." + } + ] + }, + "children": [ + { + "id": 19, + "name": "activeChain", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The activeChain prop determines which chain you want your app to be operating on.\n\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. Import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " prop.\n\nYou can override the imported object or pass a custom chain object with required properties." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 103, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L103" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reflection", + "declaration": { + "id": 20, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "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": 27, + "name": "authConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configuration object for setting up [Auth](https://portal.thirdweb.com/wallets/auth); allowing users to sign in with their wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 94, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L94" + } + ], + "type": { + "type": "reference", + "target": 243, + "name": "ThirdwebAuthConfig", + "package": "@thirdweb-dev/react-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.authConfig" + } + }, + { + "id": 12, + "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/src/core/providers/thirdweb-provider.tsx", + "line": 55, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-provider.tsx#L55" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 16, + "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\n\nBy default, it is set to " + }, + { + "kind": "code", + "text": "`15000`" + }, + { + "kind": "text", + "text": " milliseconds (15 seconds)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-provider.tsx", + "line": 76, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-provider.tsx#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 15, + "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/src/core/providers/thirdweb-provider.tsx", + "line": 67, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-provider.tsx#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18, + "name": "clientId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The clientId prop is required to use the thirdweb infrastructure services with the SDK.\n\nYou can get a client ID by creating an API key on [thirdweb dashboard](https://thirdweb.com/dashboard/settings/api-keys)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 119, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L119" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.clientId" + } + }, + { + "id": 11, + "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/src/core/providers/thirdweb-provider.tsx", + "line": 50, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-provider.tsx#L50" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/core/types/dAppMeta.ts", + "qualifiedName": "DAppMetaData" + }, + "name": "DAppMetaData", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 22, + "name": "queryClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If you are using React Query and have your own " + }, + { + "kind": "code", + "text": "`QueryClient`" + }, + { + "kind": "text", + "text": ", you can pass it as the queryClient prop to use that instead of the SDK's default client." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/query-client.tsx", + "line": 9, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/query-client.tsx#L9" + } + ], + "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": 24, + "name": "sdkOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The thirdweb SDK Options to pass to the thirdweb SDK which includes Gas settings, gasless transactions, RPC configuration, and more.\n\nThis Overrides any of the default values for the SDK. If not provided, it uses sensible defaults." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 47, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L47" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 25, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/schema/sdk-options.d.ts", + "line": 189, + "character": 3 + } + ] + } + } + ] + }, + { + "type": "literal", + "value": "chains" + } + ], + "name": "Omit", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.sdkOptions" + } + }, + { + "id": 28, + "name": "secretKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "secretKey for thirdweb services\nThis is only required if server side rendering is being used." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 125, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L125" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.secretKey" + } + }, + { + "id": 26, + "name": "storageInterface", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override the default [Storage](https://portal.thirdweb.com/infrastructure/storage/overview) interface used by the SDK.\n\nIt allows you to create an instance of " + }, + { + "kind": "code", + "text": "`ThirdwebStorage`" + }, + { + "kind": "text", + "text": " with your own customized config, and pass it to the SDK.\n\n*This requires the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/storage`" + }, + { + "kind": "text", + "text": " package to be installed.*" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebSDKProvider } from \"@thirdweb-dev/react\";\nimport {\n ThirdwebStorage,\n StorageDownloader,\n IpfsUploader,\n} from \"@thirdweb-dev/storage\";\n\n// Configure a custom ThirdwebStorage instance\nconst gatewayUrls = {\n \"ipfs://\": [\n \"https://gateway.ipfscdn.io/ipfs/\",\n \"https://cloudflare-ipfs.com/ipfs/\",\n \"https://ipfs.io/ipfs/\",\n ],\n};\nconst downloader = new StorageDownloader();\nconst uploader = new IpfsUploader();\nconst storage = new ThirdwebStorage({ uploader, downloader, gatewayUrls });\n\n// Provide the custom storage instance to the SDK\nfunction MyApp() {\n return (\n \n \n \n );\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 89, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L89" + } + ], + "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": 23, + "name": "supportedChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of chains supported by your app.\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. You can import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " prop in an array.\n\nIf not provided, it will default to the default supported chains supported by the thirdweb SDK." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { Ethereum, Polygon } from \"@thirdweb-dev/chains\";\n\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 29, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L29" + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.supportedChains" + } + }, + { + "id": 10, + "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/src/core/providers/thirdweb-provider.tsx", + "line": 44, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-provider.tsx#L44" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 141, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 13, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-provider.tsx", + "line": 57, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-provider.tsx#L57" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "light" + }, + { + "type": "literal", + "value": "dark" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19, + 27, + 12, + 16, + 15, + 18, + 11, + 22, + 24, + 28, + 26, + 23, + 10, + 13 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-provider.tsx", + "line": 23, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-provider.tsx#L23" + } + ], + "typeParameters": [ + { + "id": 29, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1076, + "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": 1076, + "name": "ThirdwebSDKProviderProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1083, + "name": "activeChain", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The activeChain prop determines which chain you want your app to be operating on.\n\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. Import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " prop.\n\nYou can override the imported object or pass a custom chain object with required properties." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 103, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L103" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reflection", + "declaration": { + "id": 1084, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1085, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "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": 1082, + "name": "authConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configuration object for setting up [Auth](https://portal.thirdweb.com/wallets/auth); allowing users to sign in with their wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 94, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L94" + } + ], + "type": { + "type": "reference", + "target": 243, + "name": "ThirdwebAuthConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1086, + "name": "clientId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The clientId prop is required to use the thirdweb infrastructure services with the SDK.\n\nYou can get a client ID by creating an API key on [thirdweb dashboard](https://thirdweb.com/dashboard/settings/api-keys)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 119, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L119" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1088, + "name": "queryClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If you are using React Query and have your own " + }, + { + "kind": "code", + "text": "`QueryClient`" + }, + { + "kind": "text", + "text": ", you can pass it as the queryClient prop to use that instead of the SDK's default client." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/query-client.tsx", + "line": 9, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/query-client.tsx#L9" + } + ], + "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": 1079, + "name": "sdkOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The thirdweb SDK Options to pass to the thirdweb SDK which includes Gas settings, gasless transactions, RPC configuration, and more.\n\nThis Overrides any of the default values for the SDK. If not provided, it uses sensible defaults." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 47, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L47" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 1080, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/schema/sdk-options.d.ts", + "line": 189, + "character": 3 + } + ] + } + } + ] + }, + { + "type": "literal", + "value": "chains" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 1087, + "name": "secretKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "secretKey for thirdweb services\nThis is only required if server side rendering is being used." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 125, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L125" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1078, + "name": "signer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A signer is an abstraction of an Ethereum Account, which can be used to sign messages and initiate transactions.\n\nSince the ThirdwebSDKProvider is used when you want to provide your own wallet connection logic, you will need to provide a signer prop to inform the SDK of the wallet you want to use to sign transactions.\n\nLibraries such as ethers.js, web3.js, wagmi, etc. all provide ways to get a signer.\n\nTo use this signer with the SDK, pass it to the " + }, + { + "kind": "code", + "text": "`signer`" + }, + { + "kind": "text", + "text": " prop. If the signer is connected, the SDK will use this wallet to sign transactions for all write operations on the blockchain." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 40, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L40" + } + ], + "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": 1081, + "name": "storageInterface", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override the default [Storage](https://portal.thirdweb.com/infrastructure/storage/overview) interface used by the SDK.\n\nIt allows you to create an instance of " + }, + { + "kind": "code", + "text": "`ThirdwebStorage`" + }, + { + "kind": "text", + "text": " with your own customized config, and pass it to the SDK.\n\n*This requires the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/storage`" + }, + { + "kind": "text", + "text": " package to be installed.*" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebSDKProvider } from \"@thirdweb-dev/react\";\nimport {\n ThirdwebStorage,\n StorageDownloader,\n IpfsUploader,\n} from \"@thirdweb-dev/storage\";\n\n// Configure a custom ThirdwebStorage instance\nconst gatewayUrls = {\n \"ipfs://\": [\n \"https://gateway.ipfscdn.io/ipfs/\",\n \"https://cloudflare-ipfs.com/ipfs/\",\n \"https://ipfs.io/ipfs/\",\n ],\n};\nconst downloader = new StorageDownloader();\nconst uploader = new IpfsUploader();\nconst storage = new ThirdwebStorage({ uploader, downloader, gatewayUrls });\n\n// Provide the custom storage instance to the SDK\nfunction MyApp() {\n return (\n \n \n \n );\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 89, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L89" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage/src/types/index.ts", + "qualifiedName": "IThirdwebStorage" + }, + "name": "IThirdwebStorage", + "package": "@thirdweb-dev/storage" + } + }, + { + "id": 1077, + "name": "supportedChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of chains supported by your app.\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. You can import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " prop in an array.\n\nIf not provided, it will default to the default supported chains supported by the thirdweb SDK." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { Ethereum, Polygon } from \"@thirdweb-dev/chains\";\n\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 29, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L29" + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1083, + 1082, + 1086, + 1088, + 1079, + 1087, + 1078, + 1081, + 1077 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/types.ts", + "line": 8, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/types.ts#L8" + } + ], + "typeParameters": [ + { + "id": 1089, + "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": "src/core/providers/query-client.tsx", + "qualifiedName": "QueryClientProviderProps" + }, + "name": "QueryClientProviderProps", + "package": "@thirdweb-dev/react-core" + } + ] + }, + { + "id": 986, + "name": "UserWithData", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@auth", + "content": [] + } + ] + }, + "children": [ + { + "id": 988, + "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": 987, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L15" + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TData", + "refersToTypeParameter": true + } + }, + { + "id": 989, + "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": [ + 988, + 987, + 989 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 11, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L11" + } + ], + "typeParameters": [ + { + "id": 990, + "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": 991, + "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": 1188, + "name": "AcceptDirectOffer", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 258, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L258" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1189, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1191, + "name": "addressOfOfferor", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The wallet address of the user who made the offer you wish to accept.\n\nThe " + }, + { + "kind": "code", + "text": "`useContractEvents`" + }, + { + "kind": "text", + "text": " hook can be used to read all " + }, + { + "kind": "code", + "text": "`\"NewOffer\"`" + }, + { + "kind": "text", + "text": " events on your " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 268, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L268" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1190, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`listingId`" + }, + { + "kind": "text", + "text": " of the listing you wish to accept. Each listing has a unique " + }, + { + "kind": "code", + "text": "`listingId`" + }, + { + "kind": "text", + "text": " on the " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 262, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L262" + } + ], + "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": [ + 1191, + 1190 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 258, + "character": 32, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L258" + } + ] + } + } + }, + { + "id": 1141, + "name": "AirdropNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params to pass to " + }, + { + "kind": "code", + "text": "`useTransferBatchNFT`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 123, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L123" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1144, + "name": "addresses", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 125, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L125" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/airdrop/airdrop.ts", + "qualifiedName": "AirdropInput" + }, + "name": "AirdropInput", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1143, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 124, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L124" + } + ], + "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": [ + 1144, + 1143 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 123, + "character": 31, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L123" + } + ] + } + } + }, + { + "id": 1157, + "name": "BurnNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "code", + "text": "`useBurnNFT`" + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "blockTags": [ + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 163, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L163" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1158, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1160, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 163, + "character": 53, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L163" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1159, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 163, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L163" + } + ], + "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": [ + 1160, + 1159 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 163, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L163" + } + ] + } + } + }, + { + "id": 1195, + "name": "BuyNowParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 281, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L281" + } + ], + "typeParameters": [ + { + "id": 1204, + "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": 1196, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1199, + "name": "buyAmount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of tokens you want to buy from the listing.\n\nApplicable for ERC1155 listings only, should always be " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " for ERC721 listings." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 297, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L297" + } + ], + "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": 1200, + "name": "buyForWallet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optionally, specify a different wallet address to buy the listing for." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 301, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L301" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1197, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the listing you want to buy." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 287, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L287" + } + ], + "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": 1198, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of listing. Either ListingType.Direct (0) or ListingType.Auction (1)." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 291, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L291" + } + ], + "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": [ + 1199, + 1200, + 1197, + 1198 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 283, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L283" + } + ] + } + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 1201, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1202, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the listing you want to buy." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 307, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L307" + } + ], + "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": 1203, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of listing. Either ListingType.Direct (0) or ListingType.Auction (1)." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 311, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L311" + } + ], + "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": [ + 1202, + 1203 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 303, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L303" + } + ] + } + } + } + }, + { + "id": 274, + "name": "ClaimIneligibilityParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The options to be passed as the second parameter to the " + }, + { + "kind": "code", + "text": "`useClaimIneligibilityReasons`" + }, + { + "kind": "text", + "text": " hook." + } + ], + "blockTags": [ + { + "tag": "@claimConditions", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 34, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L34" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 275, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 277, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 38, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L38" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 276, + "name": "walletAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 36, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L36" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 277, + 276 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 34, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L34" + } + ] + } + } + }, + { + "id": 1172, + "name": "ClaimNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "code", + "text": "`useClaimNFT`" + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "blockTags": [ + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 221, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L221" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1173, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1176, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 224, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L224" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimOptions" + }, + "name": "ClaimOptions", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1175, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 223, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L223" + } + ], + "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": 1174, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 222, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L222" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1177, + "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/src/evm/types.ts", + "line": 228, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L228" + } + ], + "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": [ + 1176, + 1175, + 1174, + 1177 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 221, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L221" + } + ] + } + } + }, + { + "id": 1178, + "name": "ClaimNFTReturnType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The return type of the " + }, + { + "kind": "code", + "text": "`useClaimNFT`" + }, + { + "kind": "text", + "text": " hook." + } + ], + "blockTags": [ + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 235, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L235" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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": 1205, + "name": "ClaimTokenParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 336, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L336" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1206, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1208, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 338, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L338" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1209, + "name": "checkERC20Allowance", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 339, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L339" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1207, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 337, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L337" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1208, + 1209, + 1207 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 336, + "character": 31, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L336" + } + ] + } + } + }, + { + "id": 159, + "name": "ConnectUIProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 78, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L78" + } + ], + "typeParameters": [ + { + "id": 201, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + "default": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 183, + "name": "connect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 153, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L153" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 184, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 153, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L153" + } + ], + "signatures": [ + { + "id": 185, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "connect wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nconst { connect } = props;\n\nasync function handleConnect() {\n const wallet = await connect(someOptions);\n console.log('connected to', wallet);\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf you need more control over the connection process, you can manually create wallet instance and call the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " method of the wallet instance instead and use " + }, + { + "kind": "code", + "text": "`setConnectedWallet`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`setConnectionStatus`" + }, + { + "kind": "text", + "text": " to set the connected wallet and connection status." + } + ] + } + ] + }, + "parameters": [ + { + "id": 186, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "ConnectArgs" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "ConnectArgs", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 164, + "name": "connected", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 88, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L88" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 88, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L88" + } + ], + "signatures": [ + { + "id": 166, + "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": 199, + "name": "connectedWallet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Connected wallet instance\nThis is set by " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " if connection succeeds or it can be set manually by using " + }, + { + "kind": "code", + "text": "`setConnectedWallet`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 229, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L229" + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + }, + { + "id": 200, + "name": "connectedWalletAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Address of the connected wallet instance" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 234, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L234" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 191, + "name": "connectionStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Connection status of the wallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 180, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L180" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "ConnectionStatus" + }, + "name": "ConnectionStatus", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 196, + "name": "createWalletInstance", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 223, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L223" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 197, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 223, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L223" + } + ], + "signatures": [ + { + "id": 198, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create an instance of the wallet. This is only relevant if you are manually creating wallet instance and calling the " + }, + { + "kind": "code", + "text": "`wallet.connect`" + }, + { + "kind": "text", + "text": " method. If you are using the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " function, this is done automatically." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { createWalletInstance, setConnectionStatus, setConnectedWallet } = props;\n\nasync function handleConnect() {\n const wallet = createWalletInstance(); // <--\n setConnectionStatus('connecting');\n try {\n await wallet.connect(someOptions);\n setConnectedWallet(wallet);\n } catch {\n setConnectionStatus('disconnected');\n }\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ] + } + } + }, + { + "id": 171, + "name": "goBack", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 103, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L103" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 172, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 103, + "character": 10, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L103" + } + ], + "signatures": [ + { + "id": 173, + "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": 161, + "name": "hide", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 83, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L83" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 162, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 83, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L83" + } + ], + "signatures": [ + { + "id": 163, + "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": 167, + "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/src/core/types/wallet.ts", + "line": 93, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L93" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 182, + "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/src/core/types/wallet.ts", + "line": 136, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L136" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "compact" + }, + { + "type": "literal", + "value": "wide" + } + ] + } + }, + { + "id": 176, + "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/src/core/types/wallet.ts", + "line": 118, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L118" + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 192, + "name": "setConnectedWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 202, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L202" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 193, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 202, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L202" + } + ], + "signatures": [ + { + "id": 194, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set a wallet instance as connected in thirdweb context\nThis is only relevant if you are manually creating wallet instance and calling the " + }, + { + "kind": "code", + "text": "`wallet.connect`" + }, + { + "kind": "text", + "text": " method. If you are using the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " function, this is done automatically." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { createWalletInstance, setConnectionStatus, setConnectedWallet } = props;\n\nasync function handleConnect() {\n const wallet = createWalletInstance();\n setConnectionStatus('connecting');\n try {\n await wallet.connect(someOptions);\n setConnectedWallet(wallet); // <--\n } catch {\n setConnectionStatus('disconnected');\n }\n}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 195, + "name": "walletInstance", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 187, + "name": "setConnectionStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 175, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L175" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 188, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 175, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L175" + } + ], + "signatures": [ + { + "id": 189, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the connection status of the wallet.\nThis is only relevant if you are manually creating wallet instance and calling the " + }, + { + "kind": "code", + "text": "`wallet.connect`" + }, + { + "kind": "text", + "text": " method. If you are using the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " function, this is done automatically." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { createWalletInstance, setConnectionStatus, setConnectedWallet } = props;\n\nasync function handleConnect() {\n const wallet = createWalletInstance();\n setConnectionStatus('connecting'); // <--\n try {\n await wallet.connect(someOptions);\n setConnectedWallet(wallet);\n } catch {\n setConnectionStatus('disconnected'); // <--\n }\n}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 190, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "ConnectionStatus" + }, + "name": "ConnectionStatus", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 177, + "name": "setSelectionData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 124, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L124" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 178, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 124, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L124" + } + ], + "signatures": [ + { + "id": 179, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "set selectionData" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [] + } + ] + }, + "parameters": [ + { + "id": 180, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 168, + "name": "show", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 98, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L98" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 169, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 98, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L98" + } + ], + "signatures": [ + { + "id": 170, + "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": 181, + "name": "supportedWallets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of supported wallets including this wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 129, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L129" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 141, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 174, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "theme of the connect wallet modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 108, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L108" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + } + ] + } + }, + { + "id": 175, + "name": "walletConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " object of the wallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 113, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L113" + } + ], + "type": { + "type": "reference", + "target": 141, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 183, + 164, + 199, + 200, + 191, + 196, + 171, + 161, + 167, + 182, + 176, + 192, + 187, + 177, + 168, + 181, + 174, + 175 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 78, + "character": 72, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L78" + } + ] + } + } + }, + { + "id": 106, + "name": "ConnectionStatus", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 51, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L51" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "unknown" + }, + { + "type": "literal", + "value": "connected" + }, + { + "type": "literal", + "value": "disconnected" + }, + { + "type": "literal", + "value": "connecting" + } + ] + } + }, + { + "id": 1163, + "name": "DelayedRevealLazyMintInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useDelayedRevealLazyMint", + "target": 502 + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "blockTags": [ + { + "tag": "@delayedReveal", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 189, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L189" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1164, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1166, + "name": "metadatas", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of metadata objects, representing the metadata of the NFTs to be lazy-minted.\n\nEach metadata object must conform to the [standard metadata properties](https://docs.opensea.io/docs/metadata-standards)." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 199, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L199" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFTMetadataInput" + }, + "name": "NFTMetadataInput", + "package": "@thirdweb-dev/sdk" + } + } + }, + { + "id": 1167, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The password used to encrypt the metadatas.\n\n__The password CANNOT be recovered once it is set. If you lose the password, you will not be able to reveal the metadata.__" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 205, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L205" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1165, + "name": "placeholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The placeholder object represents the metadata the NFTs will have until the owner reveals the metadata." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 193, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L193" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFTMetadataInput" + }, + "name": "NFTMetadataInput", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1166, + 1167, + 1165 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 189, + "character": 41, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L189" + } + ] + } + } + }, + { + "id": 1161, + "name": "DropContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible DROP contract types." + } + ], + "blockTags": [ + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 171, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L171" + } + ], + "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": 1192, + "name": "ExecuteAuctionSale", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 274, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L274" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1193, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1194, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 275, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L275" + } + ], + "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": [ + 1194 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 274, + "character": 33, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L274" + } + ] + } + } + }, + { + "id": 1179, + "name": "MakeBidParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 244, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L244" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1180, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1182, + "name": "bid", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 244, + "character": 55, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L244" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Price" + }, + "name": "Price", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1181, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 244, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L244" + } + ], + "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": [ + 1182, + 1181 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 244, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L244" + } + ] + } + } + }, + { + "id": 1183, + "name": "MakeOfferParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 249, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L249" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1184, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1185, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 250, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L250" + } + ], + "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": 1186, + "name": "pricePerToken", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 251, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L251" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Price" + }, + "name": "Price", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1187, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 252, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L252" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1185, + 1186, + 1187 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 249, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L249" + } + ] + } + } + }, + { + "id": 1150, + "name": "MintNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "code", + "text": "`useMintNFT`" + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "blockTags": [ + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 142, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L142" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1151, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1152, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 143, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L143" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFTMetadataOrUri" + }, + "name": "NFTMetadataOrUri", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1154, + "name": "supply", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 145, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L145" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1153, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 144, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L144" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1152, + 1154, + 1153 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 142, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L142" + } + ] + } + } + }, + { + "id": 1155, + "name": "MintNFTReturnType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The return type of the " + }, + { + "kind": "code", + "text": "`useMintNFT`" + }, + { + "kind": "text", + "text": " hook." + } + ], + "blockTags": [ + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 152, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L152" + } + ], + "typeParameters": [ + { + "id": 1156, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "mintTo" + }, + "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" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "mintTo" + }, + "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" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + }, + { + "id": 1145, + "name": "MintNFTSupplyParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params to pass to " + }, + { + "kind": "code", + "text": "`useMintNFTSupply`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 132, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L132" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1146, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1148, + "name": "additionalSupply", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 134, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L134" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1149, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 135, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L135" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1147, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 133, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L133" + } + ], + "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": [ + 1148, + 1149, + 1147 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 132, + "character": 34, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L132" + } + ] + } + } + }, + { + "id": 1133, + "name": "NFTContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible NFT contract types." + } + ], + "blockTags": [ + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 90, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L90" + } + ], + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "literal", + "value": "TokenDrop" + } + ], + "name": "Exclude", + "package": "typescript" + } + ] + } + }, + { + "id": 1168, + "name": "RevealLazyMintInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useRevealLazyMint", + "target": 510 + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "blockTags": [ + { + "tag": "@delayedReveal", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 212, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L212" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1169, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1170, + "name": "batchId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 213, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L213" + } + ], + "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": 1171, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 214, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L214" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1170, + 1171 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 212, + "character": 34, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L212" + } + ] + } + } + }, + { + "id": 1162, + "name": "RevealableContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible revealable contract types." + } + ], + "blockTags": [ + { + "tag": "@delayedReveal", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 183, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L183" + } + ], + "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": 876, + "name": "RolesForContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@permissionControl", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 31, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L31" + } + ], + "typeParameters": [ + { + "id": 878, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/common/role.ts", + "qualifiedName": "Role" + }, + "name": "Role", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 877, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 34, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L34" + } + ] + } + } + ] + } + ] + }, + "falseType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "roles" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "NonNullable" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "roles" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "Exclude", + "package": "typescript" + } + } + ], + "name": "NonNullable", + "package": "typescript" + } + } + } + } + }, + { + "id": 202, + "name": "SelectUIProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 240, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L240" + } + ], + "typeParameters": [ + { + "id": 230, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + "default": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 203, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 212, + "name": "connect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 288, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L288" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 213, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 288, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L288" + } + ], + "signatures": [ + { + "id": 214, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "connect wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nconst { connect } = props;\n\nasync function handleConnect() {\n const wallet = await connect(someOptions);\n console.log('connected to', wallet);\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf you need more control over the connection process, you can manually create wallet instance and call the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " method of the wallet instance instead and use " + }, + { + "kind": "code", + "text": "`setConnectedWallet`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`setConnectionStatus`" + }, + { + "kind": "text", + "text": " to set the connected wallet and connection status." + } + ] + } + ] + }, + "parameters": [ + { + "id": 215, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "ConnectArgs" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "ConnectArgs", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 228, + "name": "connectedWallet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Connected wallet instance\nThis is set by " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " if connection succeeds or it can be set manually by using " + }, + { + "kind": "code", + "text": "`setConnectedWallet`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 364, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L364" + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + }, + { + "id": 229, + "name": "connectedWalletAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Address of the connected wallet instance" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 369, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L369" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 220, + "name": "connectionStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Connection status of the wallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 315, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L315" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "ConnectionStatus" + }, + "name": "ConnectionStatus", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 225, + "name": "createWalletInstance", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 358, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L358" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 226, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 358, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L358" + } + ], + "signatures": [ + { + "id": 227, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create an instance of the wallet. This is only relevant if you are manually creating wallet instance and calling the " + }, + { + "kind": "code", + "text": "`wallet.connect`" + }, + { + "kind": "text", + "text": " method. If you are using the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " function, this is done automatically." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { createWalletInstance, setConnectionStatus, setConnectedWallet } = props;\n\nasync function handleConnect() {\n const wallet = createWalletInstance(); // <--\n setConnectionStatus('connecting');\n try {\n await wallet.connect(someOptions);\n setConnectedWallet(wallet);\n } catch {\n setConnectionStatus('disconnected');\n }\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ] + } + } + }, + { + "id": 211, + "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/src/core/types/wallet.ts", + "line": 271, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L271" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "compact" + }, + { + "type": "literal", + "value": "wide" + } + ] + } + }, + { + "id": 204, + "name": "onSelect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 246, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L246" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 205, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 246, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L246" + } + ], + "signatures": [ + { + "id": 206, + "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": 207, + "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": 221, + "name": "setConnectedWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 337, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L337" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 222, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 337, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L337" + } + ], + "signatures": [ + { + "id": 223, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set a wallet instance as connected in thirdweb context\nThis is only relevant if you are manually creating wallet instance and calling the " + }, + { + "kind": "code", + "text": "`wallet.connect`" + }, + { + "kind": "text", + "text": " method. If you are using the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " function, this is done automatically." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { createWalletInstance, setConnectionStatus, setConnectedWallet } = props;\n\nasync function handleConnect() {\n const wallet = createWalletInstance();\n setConnectionStatus('connecting');\n try {\n await wallet.connect(someOptions);\n setConnectedWallet(wallet); // <--\n } catch {\n setConnectionStatus('disconnected');\n }\n}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 224, + "name": "walletInstance", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 216, + "name": "setConnectionStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 310, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L310" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 217, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 310, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L310" + } + ], + "signatures": [ + { + "id": 218, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the connection status of the wallet.\nThis is only relevant if you are manually creating wallet instance and calling the " + }, + { + "kind": "code", + "text": "`wallet.connect`" + }, + { + "kind": "text", + "text": " method. If you are using the " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " function, this is done automatically." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { createWalletInstance, setConnectionStatus, setConnectedWallet } = props;\n\nasync function handleConnect() {\n const wallet = createWalletInstance();\n setConnectionStatus('connecting'); // <--\n try {\n await wallet.connect(someOptions);\n setConnectedWallet(wallet);\n } catch {\n setConnectionStatus('disconnected'); // <--\n }\n}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 219, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "ConnectionStatus" + }, + "name": "ConnectionStatus", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 209, + "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/src/core/types/wallet.ts", + "line": 259, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L259" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 141, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 210, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "theme of the connect wallet modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 264, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L264" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + } + ] + } + }, + { + "id": 208, + "name": "walletConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " object of your wallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 251, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L251" + } + ], + "type": { + "type": "reference", + "target": 141, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 212, + 228, + 229, + 220, + 225, + 211, + 204, + 221, + 216, + 209, + 210, + 208 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 240, + "character": 71, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L240" + } + ] + } + } + }, + { + "id": 278, + "name": "SetClaimConditionsParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useSetClaimConditions", + "target": 314, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "blockTags": [ + { + "tag": "@claimConditions", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 45, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L45" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 279, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 280, + "name": "phases", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of phases that occur in chronological order." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 49, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L49" + } + ], + "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": 281, + "name": "reset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A boolean value that determines whether to reset the claim conditions or to keep the existing state.\nBy resetting them, any previous claims that were made will be ignored by the claim condition restrictions.\n\nFor example, if you had a limit of 1 token per wallet, and a user claimed a token, then you reset the claim conditions, that user will be able to claim another token.\n\nDefault value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 59, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L59" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 280, + 281 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 45, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L45" + } + ] + } + } + }, + { + "id": 1130, + "name": "TokenBurnParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The parameters to pass to the burn function." + } + ], + "blockTags": [ + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 80, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L80" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1131, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1132, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 81, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L81" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1132 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 80, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L80" + } + ] + } + } + }, + { + "id": 1134, + "name": "TokenContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible Token contract types." + } + ], + "blockTags": [ + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 101, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L101" + } + ], + "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": 1126, + "name": "TokenParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The parameters to pass to the mint and transfer functions." + } + ], + "blockTags": [ + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 71, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L71" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1127, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1129, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 73, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L73" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1128, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 72, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L72" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1129, + 1128 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 71, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L71" + } + ] + } + } + }, + { + "id": 1136, + "name": "TransferNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params to pass to " + }, + { + "kind": "code", + "text": "`useTransferNFT`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 113, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L113" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1137, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1140, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 116, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L116" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1138, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 114, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L114" + } + ], + "type": { + "type": "reference", + "target": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1139, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 115, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L115" + } + ], + "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": [ + 1140, + 1138, + 1139 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 113, + "character": 32, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L113" + } + ] + } + } + }, + { + "id": 466, + "name": "UseContractResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@contract", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 187, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L187" + } + ], + "typeParameters": [ + { + "id": 469, + "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": 467, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 468, + "name": "contract", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 190, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L190" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 468 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 189, + "character": 44, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L189" + } + ] + } + } + ] + } + }, + { + "id": 1229, + "name": "UseWatchTransactionsParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useTransactions.ts", + "line": 8, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useTransactions.ts#L8" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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": 1230, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1231, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useTransactions.ts", + "line": 10, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useTransactions.ts#L10" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1231 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useTransactions.ts", + "line": 10, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useTransactions.ts#L10" + } + ] + } + } + ] + } + }, + { + "id": 1125, + "name": "WalletAddress", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet address." + } + ], + "blockTags": [ + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/types.ts", + "line": 60, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/types.ts#L60" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/schema/shared/AddressOrEnsSchema.ts", + "qualifiedName": "AddressOrEns" + }, + "name": "AddressOrEns", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 141, + "name": "WalletConfig", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 24, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L24" + } + ], + "typeParameters": [ + { + "id": 158, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + "default": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 143, + "name": "category", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 25, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L25" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "socialLogin" + }, + { + "type": "literal", + "value": "walletLogin" + } + ] + } + }, + { + "id": 150, + "name": "connectUI", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "UI for connecting wallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 32, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L32" + } + ], + "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": 159, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "ConnectUIProps", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "React.FC", + "package": "@types/react" + } + }, + { + "id": 146, + "name": "create", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 28, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L28" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 147, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 28, + "character": 10, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L28" + } + ], + "signatures": [ + { + "id": 148, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 149, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 232, + "name": "WalletOptions", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ] + } + } + }, + { + "id": 144, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 26, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 157, + "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.\n\nBy default is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 61, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L61" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 152, + "name": "isInstalled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 37, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L37" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 153, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 37, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L37" + } + ], + "signatures": [ + { + "id": 154, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + } + } + }, + { + "id": 145, + "name": "meta", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 27, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L27" + } + ], + "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": 155, + "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/src/core/types/wallet.ts", + "line": 47, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L47" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 141, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 156, + "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\n\nBy default is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 54, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L54" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 151, + "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/src/core/types/wallet.ts", + "line": 36, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L36" + } + ], + "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": 202, + "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": [ + 143, + 150, + 146, + 144, + 157, + 152, + 145, + 155, + 156, + 151 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 24, + "character": 70, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L24" + } + ] + } + } + }, + { + "id": 31, + "name": "WalletIdToWalletTypeMap", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 34, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L34" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 32, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 38, + "name": "blocto", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 40, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L40" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/blocto.ts", + "qualifiedName": "BloctoWallet" + }, + "name": "BloctoWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 34, + "name": "coin98", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 36, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L36" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/coin98.ts", + "qualifiedName": "Coin98Wallet" + }, + "name": "Coin98Wallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 35, + "name": "coinbase", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 37, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L37" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/coinbase-wallet.ts", + "qualifiedName": "CoinbaseWallet" + }, + "name": "CoinbaseWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 36, + "name": "coreWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 38, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L38" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/core-wallet.ts", + "qualifiedName": "CoreWallet" + }, + "name": "CoreWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 53, + "name": "cryptoDefiWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 55, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L55" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/crypto-defi-wallet.ts", + "qualifiedName": "CryptoDefiWallet" + }, + "name": "CryptoDefiWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 47, + "name": "embeddedWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 49, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L49" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/embedded-wallet.ts", + "qualifiedName": "EmbeddedWallet" + }, + "name": "EmbeddedWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 39, + "name": "frame", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 41, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L41" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/frame.ts", + "qualifiedName": "FrameWallet" + }, + "name": "FrameWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 40, + "name": "localWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 42, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L42" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/local-wallet.ts", + "qualifiedName": "LocalWallet" + }, + "name": "LocalWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 41, + "name": "magicLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 43, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L43" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/magic.ts", + "qualifiedName": "MagicLink" + }, + "name": "MagicLink", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 33, + "name": "metamask", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 35, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L35" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/metamask.ts", + "qualifiedName": "MetaMaskWallet" + }, + "name": "MetaMaskWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 51, + "name": "okx", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 53, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L53" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/okx.ts", + "qualifiedName": "OKXWallet" + }, + "name": "OKXWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 52, + "name": "oneKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 54, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L54" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/onekey.ts", + "qualifiedName": "OneKeyWallet" + }, + "name": "OneKeyWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 42, + "name": "paper", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 44, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L44" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/paper-wallet.ts", + "qualifiedName": "PaperWallet" + }, + "name": "PaperWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 49, + "name": "phantom", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 51, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L51" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/phantom.ts", + "qualifiedName": "PhantomWallet" + }, + "name": "PhantomWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 54, + "name": "rabby", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 56, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L56" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/rabby.ts", + "qualifiedName": "RabbyWallet" + }, + "name": "RabbyWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 37, + "name": "rainbowWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 39, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L39" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/rainbow-wallet.ts", + "qualifiedName": "RainbowWallet" + }, + "name": "RainbowWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 45, + "name": "safe", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 47, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L47" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/safe.ts", + "qualifiedName": "SafeWallet" + }, + "name": "SafeWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 43, + "name": "smartWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 45, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L45" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/smart-wallet.ts", + "qualifiedName": "SmartWallet" + }, + "name": "SmartWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 44, + "name": "tokenBoundSmartWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 46, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L46" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/token-bound-smart-wallet.ts", + "qualifiedName": "TokenBoundSmartWallet" + }, + "name": "TokenBoundSmartWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 46, + "name": "trust", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 48, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L48" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/trust.ts", + "qualifiedName": "TrustWallet" + }, + "name": "TrustWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 48, + "name": "walletConnect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 50, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L50" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", + "qualifiedName": "WalletConnect" + }, + "name": "WalletConnect", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 50, + "name": "walletConnectV1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 52, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L52" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", + "qualifiedName": "WalletConnect" + }, + "name": "WalletConnect", + "package": "@thirdweb-dev/wallets" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 38, + 34, + 35, + 36, + 53, + 47, + 39, + 40, + 41, + 33, + 51, + 52, + 42, + 49, + 54, + 37, + 45, + 43, + 44, + 46, + 48, + 50 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 34, + "character": 38, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L34" + } + ] + } + } + }, + { + "id": 231, + "name": "WalletInstance", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 19, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/base.ts", + "qualifiedName": "AbstractClientWallet" + }, + "name": "AbstractClientWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 232, + "name": "WalletOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 12, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L12" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/base.ts", + "qualifiedName": "WalletOptions" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 233, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 234, + "name": "chain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 13, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L13" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 234 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/core/types/wallet.ts", + "line": 12, + "character": 43, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/types/wallet.ts#L12" + } + ] + } + } + ], + "name": "WalletOptions_", + "package": "@thirdweb-dev/wallets", + "qualifiedName": "WalletOptions" + } + }, + { + "id": 1068, + "name": "ThirdwebSDKProvider", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/thirdweb-sdk-provider.tsx", + "line": 275, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/thirdweb-sdk-provider.tsx#L275" + } + ], + "signatures": [ + { + "id": 1069, + "name": "ThirdwebSDKProvider", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`ThirdwebSDKProvider`" + }, + { + "kind": "text", + "text": " is used when you want to provide your own wallet connection logic and just use the thirdweb SDK to interact with smart contracts and the blockchain.\nThis means you can use everything in the SDK except for wallet connection-related components and hooks. if you need those please use the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " instead.\n\n" + }, + { + "kind": "code", + "text": "`ThirdwebSDKProvider`" + }, + { + "kind": "text", + "text": " allows you to set a provider & signer to the Thirdweb SDK." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Wrap your app in the ThirdwebSDKProvider to access the SDK’s functionality from anywhere in your app.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebSDKProvider } from \"@thirdweb-dev/react\";\nimport { ethers } from \"ethers\";\n\n// Example shows how to get the signer from the injected provider ( wallet extension )\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/providers/thirdweb-sdk-provider.tsx", + "line": 275, + "character": 35, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/providers/thirdweb-sdk-provider.tsx#L275" + } + ], + "typeParameter": [ + { + "id": 1070, + "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": 1071, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the ThirdwebSDKProvider component\n\n### clientId (optional)\nThe clientId prop is required to use the thirdweb infrastructure services with the SDK.\n\n### activeChain (optional)\nThe activeChain prop determines which chain you want your app to be operating on.\n\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. Import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " prop.\n\nYou can override the imported object or pass a custom chain object with required properties.\n\nYou can get a client ID by creating an API key on [thirdweb dashboard](https://thirdweb.com/dashboard/settings/api-keys)\n\n### supportedChains (optional)\nAn array of chains supported by your app.\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. You can import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " prop in an array.\n\nIf not provided, it will default to the default supported chains supported by the thirdweb SDK.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { Ethereum, Polygon } from \"@thirdweb-dev/chains\";\n\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### signer (optional)\nA signer is an abstraction of an Ethereum Account, which can be used to sign messages and initiate transactions.\n\nSince the ThirdwebSDKProvider is used when you want to provide your own wallet connection logic, you will need to provide a signer prop to inform the SDK of the wallet you want to use to sign transactions.\n\nLibraries such as ethers.js, web3.js, wagmi, etc. all provide ways to get a signer.\n\nTo use this signer with the SDK, pass it to the " + }, + { + "kind": "code", + "text": "`signer`" + }, + { + "kind": "text", + "text": " prop. If the signer is connected, the SDK will use this wallet to sign transactions for all write operations on the blockchain.\n\n### sdkOptions (optional)\nThe thirdweb SDK Options to pass to the thirdweb SDK which includes Gas settings, gasless transactions, RPC configuration, and more.\n\nThis Overrides any of the default values for the SDK. If not provided, it uses sensible defaults.\n\n### storageInterface (optional)\nOverride the default [Storage](https://portal.thirdweb.com/infrastructure/storage/overview) interface used by the SDK.\n\nIt allows you to create an instance of " + }, + { + "kind": "code", + "text": "`ThirdwebStorage`" + }, + { + "kind": "text", + "text": " with your own customized config, and pass it to the SDK.\n\n*This requires the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/storage`" + }, + { + "kind": "text", + "text": " package to be installed.*\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebSDKProvider } from \"@thirdweb-dev/react\";\nimport {\n ThirdwebStorage,\n StorageDownloader,\n IpfsUploader,\n} from \"@thirdweb-dev/storage\";\n\n// Configure a custom ThirdwebStorage instance\nconst gatewayUrls = {\n \"ipfs://\": [\n \"https://gateway.ipfscdn.io/ipfs/\",\n \"https://cloudflare-ipfs.com/ipfs/\",\n \"https://ipfs.io/ipfs/\",\n ],\n};\nconst downloader = new StorageDownloader();\nconst uploader = new IpfsUploader();\nconst storage = new ThirdwebStorage({ uploader, downloader, gatewayUrls });\n\n// Provide the custom storage instance to the SDK\nfunction MyApp() {\n return (\n \n \n \n );\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### authConfig (optional)\nThe configuration object for setting up [Auth](https://portal.thirdweb.com/wallets/auth); allowing users to sign in with their wallet.\n\n### secretKey (optional)\nsecretKey for thirdweb services. This is only required if server side rendering is being used." + } + ] + }, + "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": 1076, + "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": 1102, + "name": "shortenAddress", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/utils/addresses.ts", + "line": 28, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/utils/addresses.ts#L28" + } + ], + "signatures": [ + { + "id": 1103, + "name": "shortenAddress", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This function shortens an address if it is a valid EVM address." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The shortened address" + } + ] + }, + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "Note that this function will not check if the address is an ENS." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Calling shortenAddress with extraShort set to true\n" + }, + { + "kind": "code", + "text": "```ts\nconst address = shortenIfAddress(\"0x1234567890123456789012345678901234567890\", true); // result will be \"0x1234...890\"\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/utils/addresses.ts", + "line": 28, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/utils/addresses.ts#L28" + } + ], + "parameters": [ + { + "id": 1104, + "name": "address", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address to shorten" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1105, + "name": "extraShort", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, show the first 4 and last 3 characters" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "true" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 624, + "name": "useAcceptDirectListingOffer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2707, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2707" + } + ], + "signatures": [ + { + "id": 625, + "name": "useAcceptDirectListingOffer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for accepting an offer from a direct listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract.\n\nAllows the seller (the user who listed the NFT for sale) to accept an offer on their listing, triggering a sale event, meaning the:\n- NFT(s) are transferred from the seller to the buyer.\n- Funds from the offeror are sent to the seller." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport {\n useAcceptDirectListingOffer,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const {\n mutateAsync: acceptDirectOffer,\n isLoading,\n error,\n } = useAcceptDirectListingOffer(contract);\n\n return (\n \n acceptDirectOffer({\n listingId: \"{{listing_id}}\",\n addressOfOfferor: \"{{offeror_address}}\",\n })\n }\n >\n Accept Offer\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to accept an offer on a direct listing\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useAcceptDirectListingOffer(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function accepts an object as argument with the following properties:\n\n#### listingId\nThe " + }, + { + "kind": "code", + "text": "`listingId`" + }, + { + "kind": "text", + "text": " of the listing you wish to accept.\n\n#### addressOfOfferor\nThe wallet address of the user who made the offer you wish to accept.\n\nThe " + }, + { + "kind": "code", + "text": "`useContractEvents`" + }, + { + "kind": "text", + "text": " hook can be used to read all " + }, + { + "kind": "code", + "text": "`NewOffer`" + }, + { + "kind": "text", + "text": " events on your " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2707, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2707" + } + ], + "parameters": [ + { + "id": 626, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 627, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/internal/marketplace/marketplace-direct.d.ts", + "line": 146, + "character": 74 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1188, + "name": "AcceptDirectOffer", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 953, + "name": "useAccountAdmins", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 70, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L70" + } + ], + "signatures": [ + { + "id": 954, + "name": "useAccountAdmins", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all the admins on a smart wallet account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccountAdmins(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains an array of all admins of the provided account" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 70, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L70" + } + ], + "parameters": [ + { + "id": 955, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 1125, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 956, + "name": "useAccountAdminsAndSigners", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 103, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L103" + } + ], + "signatures": [ + { + "id": 957, + "name": "useAccountAdminsAndSigners", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all signers and admins on a smart wallet account.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useAccountAdminsAndSigners } from \"@thirdweb-dev/react\";\n\nconst { data: accounts, isLoading, error } = useAccountAdminsAndSigners(contract);\n```" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property containing an array of all admins and signers" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 103, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L103" + } + ], + "parameters": [ + { + "id": 958, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 942, + "name": "useAccountSigners", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 39, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L39" + } + ], + "signatures": [ + { + "id": 943, + "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": "hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property contains an array of all signers" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 39, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L39" + } + ], + "parameters": [ + { + "id": 944, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 932, + "name": "useAccounts", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 38, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L38" + } + ], + "signatures": [ + { + "id": 933, + "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": "Query result object that includes an array of all accounts with their associated admin" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AccountFactory" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 38, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L38" + } + ], + "parameters": [ + { + "id": 934, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 938, + "name": "useAccountsForAddress", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 71, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L71" + } + ], + "signatures": [ + { + "id": 939, + "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": "Query result object that includes an array of all accounts associated with the address" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AccountFactory" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 71, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L71" + } + ], + "parameters": [ + { + "id": 940, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 941, + "name": "address", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address to get associated accounts for" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 282, + "name": "useActiveClaimCondition", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 135, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L135" + } + ], + "signatures": [ + { + "id": 283, + "name": "useActiveClaimCondition", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the active claim condition for a given drop contract.\n\nAvailable for contracts that implement the \"ClaimConditions\" interface;\nsuch as [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721), [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), and [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useActiveClaimCondition, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useActiveClaimCondition(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A query result 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": "@claimConditions", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 135, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L135" + } + ], + "parameters": [ + { + "id": 284, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of contract that implement the \"ClaimConditions\" interface;\nsuch as [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721), [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), and [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20)." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 285, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When using the hook with ERC1155 contracts such as the [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), pass the " + }, + { + "kind": "code", + "text": "`tokenId`" + }, + { + "kind": "text", + "text": " as the second parameter; as each token can have unique claim conditions.\n\nPass " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": ", or leave this field out if you are using ERC721 or ERC20 drop contracts.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useActiveClaimCondition, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n\n // \"data\" now includes a \"snapshot\" property that contains the allowlist.\n const { data, isLoading, error } = useActiveClaimCondition(\n contract,\n 0, // Token ID required for ERC1155 contracts here.\n );\n}\n```" + } + ] + }, + "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": 286, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Additional options to pass to the claim condition fetch\n\n#### withAllowlist\n\nBy default, the hook will not include the allowlist or \"snapshot\" in the returned data. To include the allowlist in the returned data, pass " + }, + { + "kind": "code", + "text": "`withAllowlist: true`" + }, + { + "kind": "text", + "text": " in options object.\n\nThis will add a snapshot property to the returned data, which contains the allowlist in an array.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useActiveClaimCondition, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n\n // \"data\" now includes a \"snapshot\" property that contains the allowlist.\n const { data, isLoading, error } = useActiveClaimCondition(\n contract,\n undefined, // Token ID required for ERC1155 contracts here.\n {\n withAllowlist: true,\n },\n );\n}\n```" + } + ] + }, + "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": 309, + "name": "useActiveClaimConditionForWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 533, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L533" + } + ], + "signatures": [ + { + "id": 310, + "name": "useActiveClaimConditionForWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the active claim condition on a drop contract for a specific wallet address.\n\nEach wallet address can have unique claim conditions at any given time. This hook allows you to get the active claim condition for a specific wallet address at this time.\n\nThis is available for available for contracts that implement the \"ClaimConditions\" interface; such as [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721), [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), and [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20).\n\n ---\n\n- Returns the claim condition specific to the wallet address if found in the claimer snapshot.\n- Returns the default claim condition on the contract if the address is not found in the claimer snapshot.\n- Populates the error field if there is no active claim condition on the contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport {\n useActiveClaimConditionForWallet,\n useContract,\n useAddress,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const address = useAddress();\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useActiveClaimConditionForWallet(\n contract,\n address,\n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The active claim condition for the wallet address or " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " 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": "@claimConditions", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 533, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L533" + } + ], + "parameters": [ + { + "id": 311, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the \"ClaimConditions\" extension." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 312, + "name": "walletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The wallet address to check the active claim condition for. You can use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get the currently connected wallet's address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 313, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When using the hook with ERC1155 contracts, pass the " + }, + { + "kind": "code", + "text": "`tokenId`" + }, + { + "kind": "text", + "text": " as the third parameter; as each token can have unique claim conditions.\n\nPass " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": ", or leave this field out if you are using ERC721 or ERC20 drop contracts." + } + ] + }, + "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": 560, + "name": "useActiveListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1340, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1340" + } + ], + "signatures": [ + { + "id": 561, + "name": "useActiveListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching all active listings from a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract.\n\n__Note: This hook is only for Marketplace contracts. For Marketplace V3 contracts, use " + }, + { + "kind": "code", + "text": "`useValidDirectListings`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`useValidEnglishAuctions`" + }, + { + "kind": "text", + "text": " instead__" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useActiveListings, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data, isLoading, error } = useActiveListings(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, returns an array containing both " + }, + { + "kind": "code", + "text": "`AuctionListing`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`DirectListing`" + }, + { + "kind": "text", + "text": " objects.\n\nUse the " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": " property to determine which type of listing each one is.\n\n#### AuctionListing\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n // The id of the listing\n id: string;\n\n // The address of the asset being listed.\n assetContractAddress: string;\n\n // The ID of the token to list.\n tokenId: BigNumberish;\n\n // The asset being listed.\n asset: NFTMetadata;\n\n // The start time of the listing.\n startTimeInEpochSeconds: BigNumberish;\n\n // Number of seconds until the auction expires.\n endTimeInEpochSeconds: BigNumberish;\n\n // The quantity of tokens in the listing.\n // For ERC721s, this value should always be 1\n quantity: BigNumberish;\n\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n\n // The reserve price is the minimum price that a bid must be in order to be accepted.\n reservePrice: BigNumber;\n\n // The buyout price of the listing.\n buyoutPrice: BigNumber;\n\n // The `CurrencyValue` of the buyout price listing.\n // Useful for displaying the price information.\n buyoutCurrencyValuePerToken: CurrencyValue;\n\n // The `CurrencyValue` of the reserve price.\n // Useful for displaying the price information.\n reservePriceCurrencyValuePerToken: CurrencyValue;\n\n // The address of the seller.\n sellerAddress: string;\n\n // Listing type Enum\n type: ListingType.Auction;\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### DirectListing\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n // The id of the listing.\n id: string;\n\n //The address of the asset being listed.\n assetContractAddress: string;\n\n // The ID of the token to list.\n tokenId: BigNumberish;\n\n //The asset being listed.\n asset: NFTMetadata;\n\n //The start time of the listing.\n startTimeInSeconds: BigNumberish;\n\n //Number of seconds until the listing expires.\n secondsUntilEnd: BigNumberish;\n\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1\n quantity: BigNumberish;\n\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n buyoutCurrencyValuePerToken: CurrencyValue;\n\n // The buyout price of the listing.\n buyoutPrice: BigNumber;\n\n // The address of the seller.\n sellerAddress: string;\n\n // Listing type Enum\n type: ListingType.Direct;\n}\n```" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1340, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1340" + } + ], + "parameters": [ + { + "id": 562, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 563, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "By default, the hook returns all active listings from the marketplace.\n\nYou can filter the results by providing a filter object as the second argument for the sake of pagination & filtering\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useActiveListings, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n\n const { data, isLoading, error } = useActiveListings(\n contract,\n {\n seller: \"{{wallet_address}}\", // Filter by seller\n tokenContract: \"{{contract_address}}\", // Filter by token contract\n offeror: \"{{wallet_address}}\", // Filter by offeror\n tokenId: \"{{token_id}}\", // Filter by token ID\n count: 10, // Limit the number of results\n start: 0, // Start from the nth result (useful for pagination)\n },\n );\n}\n```" + } + ] + }, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "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": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 945, + "name": "useAddAdmin", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 284, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L284" + } + ], + "signatures": [ + { + "id": 946, + "name": "useAddAdmin", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Add an additional admin on the smart wallet account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useAddAdmin } from \"@thirdweb-dev/react\";\n\nconst adminAddress = \"{{admin_address}}\";\n\nconst Component = () => {\n const { mutate: addAdmin, isLoading, error } = useAddAdmin();\n\n if (error) {\n console.error(\"failed to add admin\", error);\n }\n\n return (\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "mutation object to add given address as an admin" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 284, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L284" + } + ], + "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": 118, + "name": "useAddress", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 152, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L152" + } + ], + "signatures": [ + { + "id": 119, + "name": "useAddress", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the address of the connected wallet.\n\nReturns " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if no wallet is connected." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { useAddress } from \"@thirdweb-dev/react\"\n\nfunction Example() {\n const address = useAddress()\n\n return
{address}
\n}\n```" + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 152, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L152" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 824, + "name": "useAirdropNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 910, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L910" + } + ], + "signatures": [ + { + "id": 825, + "name": "useAirdropNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for airdropping [" + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) NFT tokens to multiple wallet addresses at once.\n\nAvailable to use on smart contracts that implement the " + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": " standard.\n\nPerforms a batch transfer from the connected wallet to the specified addresses.\nThis means you need to have the total number of tokens you wish to airdrop available in the wallet that performs this transaction." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useAirdropNFT, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: airdropNft, isLoading, error } = useAirdropNFT(contract);\n\n return (\n \n airdropNft({\n addresses: [\n {\n address: \"0x123\",\n quantity: 1,\n },\n ],\n tokenId: tokenId,\n })\n }\n >\n Airdrop NFT\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object that to transfer batch NFTs\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useAirdropNFT(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object with the following properties:\n\n#### tokenId\nThe token ID of the NFT to airdrop.\n\n#### addresses\nAn array of objects containing an " + }, + { + "kind": "code", + "text": "`address`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " of NFTs to airdrop to each address." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC1155" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 910, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L910" + } + ], + "parameters": [ + { + "id": 826, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Erc1155`" + } + ] + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 827, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/erc-1155.d.ts", + "line": 205, + "character": 91 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1141, + "name": "AirdropNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 842, + "name": "useAllRoleMembers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 98, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L98" + } + ], + "signatures": [ + { + "id": 843, + "name": "useAllRoleMembers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting all wallet addresses that have a role in a smart contract.\n\nAvailable to use on contracts that implement [" + }, + { + "kind": "code", + "text": "`Permissions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/Permissions)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useAllRoleMembers, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useAllRoleMembers(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an object, where the keys are the role names and the values are arrays of wallet addresses that have that role.\n\nFor example, if the contract has two roles, " + }, + { + "kind": "code", + "text": "`admin`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`transfer`" + }, + { + "kind": "text", + "text": ", and the " + }, + { + "kind": "code", + "text": "`admin`" + }, + { + "kind": "text", + "text": " role has two members, the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property will look like this:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n admin: [\"0x1234\", \"0x5678\"],\n transfer: [],\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### Type\n\n" + }, + { + "kind": "code", + "text": "```ts\nRecord<\n | \"admin\"\n | \"transfer\"\n | \"minter\"\n | \"pauser\"\n | \"lister\"\n | \"asset\"\n | \"unwrap\"\n | \"factory\"\n | (string & {}),\n string[]\n> | undefined;\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PermissionsEnumerable" + } + ] + }, + { + "tag": "@permissionControl", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 98, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L98" + } + ], + "typeParameter": [ + { + "id": 844, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 845, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 876, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RolesForContract", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "Awaited", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1049, + "name": "useAppURI", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 33, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L33" + } + ], + "signatures": [ + { + "id": 1050, + "name": "useAppURI", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get App URI of the contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: contractMetadata, isLoading, error } = useAppURI(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the appURI of the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AppURI" + } + ] + }, + { + "tag": "@appURI", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 33, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L33" + } + ], + "typeParameter": [ + { + "id": 1051, + "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": 1052, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`SmartContract`" + }, + { + "kind": "text", + "text": " instance of the contract to get the appURI of" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 572, + "name": "useAuctionWinner", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1539, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1539" + } + ], + "signatures": [ + { + "id": 573, + "name": "useAuctionWinner", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the winner of an auction (or english auction) on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " or [MarketplaceV3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useAuctionWinner, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data, isLoading, error } = useAuctionWinner(\n contract,\n listingId, // The listing id of the item that you want to get the auction winner for\n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " representing the address of the auction winner, or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if there is no winner." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1539, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1539" + } + ], + "parameters": [ + { + "id": 574, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 575, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The listing ID of the item that you want to get the auction winner for.\n\nThe listing must be an auction (or english auction) listing, the hook will populate the error property if it is not." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 959, + "name": "useAuth", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useAuth.ts", + "line": 10, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useAuth.ts#L10" + } + ], + "signatures": [ + { + "id": 960, + "name": "useAuth", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get " + }, + { + "kind": "code", + "text": "`ThirdwebAuth`" + }, + { + "kind": "text", + "text": " instance" + } + ], + "blockTags": [ + { + "tag": "@auth", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useAuth.ts", + "line": 10, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useAuth.ts#L10" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/auth.ts", + "qualifiedName": "ThirdwebAuth" + }, + "name": "ThirdwebAuth", + "package": "@thirdweb-dev/auth" + } + ] + } + } + ] + }, + { + "id": 107, + "name": "useBalance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 48, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L48" + } + ], + "signatures": [ + { + "id": 108, + "name": "useBalance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting a wallet's current balance of native or (optional) ERC20 token balance" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### get the balance of the native token\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useBalance } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { data, isLoading } = useBalance();\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### get the balance of any other token\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useBalance } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { data, isLoading } = useBalance(tokenAddress);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property contains the token's balance in the " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " property as a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " object." + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 48, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L48" + } + ], + "parameters": [ + { + "id": 109, + "name": "tokenAddress", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the token contract, if not provided, it defaults to the 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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 110, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 114, + "name": "decimals", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 53, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L53" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 115, + "name": "displayValue", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 54, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L54" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 113, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 52, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L52" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 111, + "name": "symbol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 50, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L50" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 112, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 51, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L51" + } + ], + "type": { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 114, + 115, + 113, + 111, + 112 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 49, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L49" + } + ] + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 126, + "name": "useBalanceForAddress", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 98, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L98" + } + ], + "signatures": [ + { + "id": 127, + "name": "useBalanceForAddress", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This hook is similar to the " + }, + { + "kind": "code", + "text": "`useBalance`" + }, + { + "kind": "text", + "text": " hook, but it for fetching the native token balance of any given wallet address.\n\nThis hook only fetches the native token balance of the given wallet address. If you want to get the ERC20 balance from a given wallet, use " + }, + { + "kind": "code", + "text": "`useTokenBalance`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { data, isLoading } = useBalanceForAddress(walletAddress)\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property contains the native token's balance in the " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " property as a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " object." + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 98, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L98" + } + ], + "parameters": [ + { + "id": 128, + "name": "walletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the wallet that you want to get the native balance" + } + ] + }, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 129, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 133, + "name": "decimals", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 103, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L103" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 134, + "name": "displayValue", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 104, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L104" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 132, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 102, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L102" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 130, + "name": "symbol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 100, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L100" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 131, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 101, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L101" + } + ], + "type": { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 133, + 134, + 132, + 130, + 131 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 99, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L99" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 486, + "name": "useBatchesToReveal", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 299, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L299" + } + ], + "signatures": [ + { + "id": 487, + "name": "useBatchesToReveal", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching batches of lazy-minted NFTs that were set to be revealed at a later date, but have not yet been revealed.\n\nAvailable to use on contracts that implement the [ERC721Revealable](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721Revealable)\nor [ERC1155Revealable](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155Revealable) interfaces,\nsuch as the [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721)\nand [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155) smart contracts." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { useBatchesToReveal, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data: batches, isLoading, error } = useBatchesToReveal(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains an array of batches that need to be revealed.\n\nEach batch is an object with the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n batchId: BigNumber;\n batchUri: string;\n placeholderMetadata: NFTMetadata;\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Revealable | ERC1155Revealable" + } + ] + }, + { + "tag": "@delayedReveal", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 299, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L299" + } + ], + "typeParameter": [ + { + "id": 488, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1162, + "name": "RevealableContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 489, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`RevealableContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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/src/evm/types/delayed-reveal.ts", + "qualifiedName": "BatchToReveal" + }, + "name": "BatchToReveal", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 576, + "name": "useBidBuffer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1609, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1609" + } + ], + "signatures": [ + { + "id": 577, + "name": "useBidBuffer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for determining the current bid buffer on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " or [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\nThe bid buffer is what percentage higher the next bid must be than the current highest bid, or the starting price if there are no bids." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useBidBuffer, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const {\n data: bidBuffer,\n isLoading,\n error,\n } = useBidBuffer(contract, listingId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, returns a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " value representing the current bid buffer.\n\nThe " + }, + { + "kind": "code", + "text": "`bidBuffer`" + }, + { + "kind": "text", + "text": " value returned is in percentage format.\nFor example, a value of " + }, + { + "kind": "code", + "text": "`500`" + }, + { + "kind": "text", + "text": " means that the next bid must be 5% higher than the current highest bid." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1609, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1609" + } + ], + "parameters": [ + { + "id": 578, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 579, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The listing ID of the item that you want to get the bid buffer for.\nThe listing must be an auction (or english auction) listing, the hook will populate the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property if it is not." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 828, + "name": "useBurnNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 990, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L990" + } + ], + "signatures": [ + { + "id": 829, + "name": "useBurnNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for burning a NFT on a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`ERC721`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721)\nor [" + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) standard." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useBurnNFT, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nconst contractAddress = \"{{contract_address}}\";\n// The tokenId of the NFT you want to burn\nconst tokenIdToBurn = \"{{tokenId}}}}\";\nconst amount = 1;\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: burnNft, isLoading, error } = useBurnNFT(contract);\n\n return (\n \n burnNft({\n tokenId: tokenIdToBurn,\n amount: amount,\n })\n }\n >\n Burn NFT\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object that to burn an NFT token from the connected wallet\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useBurnNFT(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object with the following properties:\n\n#### tokenId\nThe token ID of the NFT you want to burn.\n\n#### amount (optional)\nWhen using ERC1155 NFTs, you can specify the quantity you want to burn.\n\nDefaults value is " + }, + { + "kind": "code", + "text": "`1`" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Burnable | ERC1155Burnable" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 990, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L990" + } + ], + "typeParameter": [ + { + "id": 830, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 831, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 832, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/erc-1155.d.ts", + "line": 1075, + "character": 68 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1157, + "name": "BurnNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 921, + "name": "useBurnToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 668, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L668" + } + ], + "signatures": [ + { + "id": 922, + "name": "useBurnToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for burning ERC20 tokens on a smart contract.\n\nAvailable to use on smart contracts that implement the [ERC20](https://portal.thirdweb.com/contracts/build/extensions/erc-20/ERC20) standard." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useBurnToken, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: burnToken, isLoading, error } = useBurnToken(contract);\n\n return (\n \n burnToken({\n amount: \"10\", // Amount of tokens to burn\n })\n }\n >\n Burn Token\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to burn tokens from the connected wallet\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useBurnToken(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as an argument with the following properties:\n\n#### amount (required)\nThe amount of tokens to burn.\n\nThe wallet initiating this transaction must have at least this amount of tokens." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20Burnable" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 668, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L668" + } + ], + "parameters": [ + { + "id": 923, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 924, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/erc-20.d.ts", + "line": 354, + "character": 48 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1130, + "name": "TokenBurnParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 768, + "name": "useBuyDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2991, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2991" + } + ], + "signatures": [ + { + "id": 769, + "name": "useBuyDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for buying a direct listing on a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) smart contract.\n\nIf the listing is in a currency that is not native to the chain (e.g. not Ether on Ethereum), the hook will prompt the user\nto approve the marketplace contract to spend the currency on their behalf before performing the buy.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useBuyDirectListing } from \"@thirdweb-dev/react\";\n\nconst { mutateAsync, isLoading, error } = useBuyDirectListing(contract);\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useBuyDirectListing,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\nimport { ListingType } from \"@thirdweb-dev/sdk\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n mutateAsync: buyDirectListing,\n isLoading,\n error,\n } = useBuyDirectListing(contract);\n\n return (\n \n buyDirectListing({\n listingId: \"{{listing_id}}\", // ID of the listing to buy\n quantity: \"1\",\n buyer: \"{{wallet_address}}\", // Wallet to buy for\n })\n }\n >\n Buy Now\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to buy out a direct listing\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useBuyDirectListing(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n## Options\n\nThe mutation function accepts an object as argument with the following properties:\n\n### listingId\n\nThe ID of the direct listing you want to buy.\n\n### quantity\n\nThe amount of tokens you want to buy from the listing.\n\nApplicable for ERC1155 listings only, should always be " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " for ERC721 listings.\n\n### buyer\n\nSpecify a different wallet address to buy the listing for." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2991, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2991" + } + ], + "parameters": [ + { + "id": 770, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 771, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/marketplacev3-direct-listings.d.ts", + "line": 331, + "character": 110 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "BuyFromListingParams" + }, + "name": "BuyFromListingParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 764, + "name": "useBuyNow", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2881, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2881" + } + ], + "signatures": [ + { + "id": 765, + "name": "useBuyNow", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for buying a listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " smart contract.\n\nIf the listing is in a currency that is not native to the chain (e.g. not Ether on Ethereum), the hook will prompt the user\nto approve the marketplace contract to spend the currency on their behalf before performing the buy.\n\n__This hook is only for " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts. Not for " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": "__" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useBuyNow, useContract, Web3Button } from \"@thirdweb-dev/react\";\nimport { ListingType } from \"@thirdweb-dev/sdk\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { mutateAsync: buyNow, isLoading, error } = useBuyNow(contract);\n\n return (\n \n buyNow({\n id: \"{{listing_id}}\", // ID of the listing to buy\n type: ListingType.Direct, // Direct (0) or Auction (1)\n buyAmount: \"{{buy_amount}}\", // Amount to buy\n buyForWallet: \"{{wallet_address}}\", // Wallet to buy for, defaults to current wallet\n })\n }\n >\n Buy Now\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to buy out an auction listing\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useBuyNow(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n## Options\n\nThe mutation function accepts an object as argument with the following properties:\n\n### id\n\nThe ID of the listing you want to buy.\n\n### type\n\nThe type of listing. Either " + }, + { + "kind": "code", + "text": "`ListingType.Direct`" + }, + { + "kind": "text", + "text": " (0) or " + }, + { + "kind": "code", + "text": "`ListingType.Auction`" + }, + { + "kind": "text", + "text": " (1).\n\n### buyAmount\n\nThe amount of tokens you want to buy from the listing.\n\nApplicable for ERC1155 listings only, should always be 1 for ERC721 listings.\n\n### buyForWallet (optional)\n\nOptionally, specify a different wallet address to buy the listing for." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2881, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2881" + } + ], + "parameters": [ + { + "id": 766, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 767, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/internal/marketplace/marketplace-direct.d.ts", + "line": 175, + "character": 110 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1195, + "name": "BuyNowParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 608, + "name": "useCancelDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2352, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2352" + } + ], + "signatures": [ + { + "id": 609, + "name": "useCancelDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for canceling a direct listing on a [MarketplaceV3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\nDirect listings can be canceled at any time, (unless the listing has already been sold).\nOnly the creator of the listing can cancel it.\n\n__Note: This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.__\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useCancelListing`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useCancelDirectListing,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\nimport { ListingType } from \"@thirdweb-dev/sdk\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n mutateAsync: cancelDirectListing,\n isLoading,\n error,\n } = useCancelDirectListing(contract);\n\n return (\n cancelDirectListing(listingId)}\n >\n Cancel Direct Listing\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to cancel a direct listing by passing the ID of the listing you want to cancel.\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useCancelDirectListing(contract);\n```" + }, + { + "kind": "text", + "text": "\n\nThe mutation function takes the " + }, + { + "kind": "code", + "text": "`listingId`" + }, + { + "kind": "text", + "text": " as an argument.\n\nThe " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property is set if the listing is not active, or was not created by the wallet\n\n### listingId\n\nThe ID of the listing you want to cancel." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2352, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2352" + } + ], + "parameters": [ + { + "id": 610, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 611, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/marketplacev3-direct-listings.d.ts", + "line": 301, + "character": 48 + } + ] + } + }, + { + "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": 612, + "name": "useCancelEnglishAuction", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2436, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2436" + } + ], + "signatures": [ + { + "id": 613, + "name": "useCancelEnglishAuction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for canceling an english auction on a [MarketplaceV3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\n__English auctions cannot be canceled if a bid has been placed__\n\n__This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.__\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useCancelListing`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useCancelEnglishAuction,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n mutateAsync: cancelEnglishAuction,\n isLoading,\n error,\n } = useCancelEnglishAuction(contract);\n\n return (\n cancelEnglishAuction(listingId)}\n >\n Cancel English Auction\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to cancel an english auction\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useCancelEnglishAuction(contract);\n```" + }, + { + "kind": "text", + "text": "\n\nThe mutation function takes the " + }, + { + "kind": "code", + "text": "`listingId`" + }, + { + "kind": "text", + "text": " as an argument.\n\nThe " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property is set if the listing is not active, cannot be canceled, or was not created by the wallet.\n\n### listingId\n\nThe ID of the listing you want to cancel." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2436, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2436" + } + ], + "parameters": [ + { + "id": 614, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 615, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/marketplacev3-english-auction.d.ts", + "line": 311, + "character": 48 + } + ] + } + }, + { + "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": 600, + "name": "useCancelListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2248, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2248" + } + ], + "signatures": [ + { + "id": 601, + "name": "useCancelListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for canceling an existing auction or listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract.\n\n__Auction listings cannot be canceled if a bid has been placed__\n\n__This hook is only for " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts.__\n\nFor [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3)\ncontracts, use " + }, + { + "kind": "code", + "text": "`useCancelDirectListing`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`useCancelEnglishAuction`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useCancelListing, useContract, Web3Button } from \"@thirdweb-dev/react\";\nimport { ListingType } from \"@thirdweb-dev/sdk\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const {\n mutateAsync: cancelListing,\n isLoading,\n error,\n } = useCancelListing(contract);\n\n return (\n \n cancelListing({\n id: \"{{listing_id}}\",\n type: ListingType.Direct, // Direct (0) or Auction (1)\n })\n }\n >\n Cancel Listing\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to cancel a listing.\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useCancelListing(contract);\n```" + }, + { + "kind": "text", + "text": "\n\nThe " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property is set if the listing is not active, or was not created by the wallet.\n\n### options\n\nThe mutation function takes an object with the following properties as an argument:\n\n#### listingId\nThe ID of the listing you want to cancel.\n\n#### listingType\nThe type of listing you are canceling. Either " + }, + { + "kind": "code", + "text": "`ListingType.Direct`" + }, + { + "kind": "text", + "text": " (0) or " + }, + { + "kind": "code", + "text": "`ListingType.Auction`" + }, + { + "kind": "text", + "text": " (1)." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2248, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2248" + } + ], + "parameters": [ + { + "id": 602, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 603, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 605, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2254, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2254" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 606, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2254, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2254" + } + ], + "signatures": [ + { + "id": 607, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 604, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2253, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2253" + } + ], + "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": [ + 605, + 604 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2252, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2252" + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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": 124, + "name": "useChain", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 235, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L235" + } + ], + "signatures": [ + { + "id": 125, + "name": "useChain", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the " + }, + { + "kind": "code", + "text": "`Chain`" + }, + { + "kind": "text", + "text": " object of the network that the user is connected - but only if\nit's a supported network (added in the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "'s " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " or one of default chains\n\nReturns " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if the network is not supported or the user is not connected to a wallet. You can use the " + }, + { + "kind": "code", + "text": "`useConnectionStatus`" + }, + { + "kind": "text", + "text": " hook to check if the user is connected to a wallet or not to differentiate between the two cases.\n\nIf you only want to get the chain id of the network the user is connected to regardless of whether it's supported or not, use " + }, + { + "kind": "code", + "text": "`useChainId`" + }, + { + "kind": "text", + "text": " instead.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useChain } from \"@thirdweb-dev/react\";\n\nconst chain = useChain();\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useChain, useConnectionStatus } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const chain = useChain();\n const status = useConnectionStatus();\n\n if (status === \"unknown\") return
Loading...
;\n if (status === \"disconnected\") return
disconnected
;\n if (status === \"connecting\") return
connecting...
;\n\n if (chain) {\n return

Connected to {chain.name}

;\n }\n\n return

Connected to an unsupported network

;\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object of type " + }, + { + "kind": "code", + "text": "`Chain`" + }, + { + "kind": "text", + "text": " from [" + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": "](https://www.npmjs.com/package/@thirdweb-dev/chains) package containing various information about the network, or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if the network is not supported or user is not connected to a wallet." + } + ] + }, + { + "tag": "@networkConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 235, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L235" + } + ], + "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": 120, + "name": "useChainId", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 186, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L186" + } + ], + "signatures": [ + { + "id": 121, + "name": "useChainId", + "variant": "signature", + "kind": 4096, + "flags": {}, + "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": "code", + "text": "```javascript\nimport { useChainId } from \"@thirdweb-dev/react\"\n\nconst App = () => {\n const chainId = useChainId()\n\n return
{chainId}
\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": " representing the current chain id, or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if the user is not connected to a wallet.\n\nFor Example, if the user is connected to the Ethereum Mainnet, the return value will be " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@networkConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/wallet.ts", + "line": 186, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/wallet.ts#L186" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 299, + "name": "useClaimConditions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 340, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L340" + } + ], + "signatures": [ + { + "id": 300, + "name": "useClaimConditions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching all claim conditions for a given drop contract.\n\nThis is available for available for contracts that implement the \"ClaimConditions\" interface; such as [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721), [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), and [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useClaimConditions, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useClaimConditions(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query Result 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": "@claimConditions", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 340, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L340" + } + ], + "parameters": [ + { + "id": 301, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the \"ClaimConditions\" extension." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 302, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When using the hook with ERC1155 contracts, pass the " + }, + { + "kind": "code", + "text": "`tokenId`" + }, + { + "kind": "text", + "text": " parameter; as each token can have unique claim conditions.\n\nPass " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": ", or leave this field out if you are using ERC721 or ERC20 drop contracts.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useClaimConditions, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n\n const { data, isLoading, error } = useClaimConditions(\n contract,\n 0, // Token ID required for ERC1155 contracts here.\n );\n}\n```" + } + ] + }, + "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": 303, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "additional options to pass to the claim condition fetch\n\n#### withAllowlist\n\nBy default, the hook will not include the allowlist in the returned data. To include the allowlist in the returned data, set the " + }, + { + "kind": "code", + "text": "`withAllowlist`" + }, + { + "kind": "text", + "text": " option to true.\n\nThis will add a " + }, + { + "kind": "code", + "text": "`snapshot`" + }, + { + "kind": "text", + "text": " property to the returned data, which contains the allowlist in an array.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useClaimConditions, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n\n // \"data\" now includes a \"snapshot\" property that contains the allowlist.\n const { data, isLoading, error } = useClaimConditions(\n contract,\n undefined, // Token ID required for ERC1155 contracts here.\n {\n withAllowlist: true,\n },\n );\n}\n```" + } + ] + }, + "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": 304, + "name": "useClaimIneligibilityReasons", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 433, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L433" + } + ], + "signatures": [ + { + "id": 305, + "name": "useClaimIneligibilityReasons", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching the reasons a wallet is not eligible to claim tokens from a drop, if any.\n\nThis is available for available for contracts that implement the \"ClaimConditions\" interface; such as [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721), [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), and [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useClaimIneligibilityReasons, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useClaimIneligibilityReasons(contract, {\n walletAddress: \"0x123...\", // Use useAddress hook to get the user's wallet address\n quantity: 1, // Quantity to check eligibility for\n });\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains an array of " + }, + { + "kind": "code", + "text": "`ClaimEligibility`" + }, + { + "kind": "text", + "text": " strings, which may be empty.\n\nFor example, if the user is not in the allowlist, this hook will return " + }, + { + "kind": "code", + "text": "`[\"This address is not on the allowlist.\"]`" + }, + { + "kind": "text", + "text": ".\n\nIf the user is eligible to claim tokens, the hook will return an empty array." + } + ] + }, + { + "tag": "@claimConditions", + "content": [] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 433, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L433" + } + ], + "parameters": [ + { + "id": 306, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the \"ClaimConditions\" extension." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 307, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The conditions to check eligibility for. The " + }, + { + "kind": "code", + "text": "`walletAddress`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " properties are required.\n\nUse the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get the connected wallet address." + } + ] + }, + "type": { + "type": "reference", + "target": 274, + "name": "ClaimIneligibilityParams", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 308, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When using ERC1155 contracts, provide a third argument to specify the token ID.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useClaimIneligibilityReasons, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useClaimIneligibilityReasons(\n contract,\n {\n walletAddress: \"0x123..\",\n quantity: 1,\n },\n tokenId,\n );\n}\n```" + } + ] + }, + "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/src/evm/enums/ClaimEligibility.ts", + "qualifiedName": "ClaimEligibility" + }, + "name": "ClaimEligibility", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 490, + "name": "useClaimNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 421, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L421" + } + ], + "signatures": [ + { + "id": 491, + "name": "useClaimNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for claiming an NFT from a smart contract.\n\nAvailable to use on smart contracts that implement a " + }, + { + "kind": "code", + "text": "`Claimable`" + }, + { + "kind": "text", + "text": " interface, and follow either the " + }, + { + "kind": "code", + "text": "`ERC721`" + }, + { + "kind": "text", + "text": "or " + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": " standard." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useClaimNFT, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: claimNft, isLoading, error } = useClaimNFT(contract);\n\n return (\n \n claimNft({\n to: \"{{wallet_address}}\", // Use useAddress hook to get current wallet address\n quantity: 1,\n })\n }\n >\n Claim NFT\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to claim a NFT to the wallet specified in the params\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useClaimNFT(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an object as argument with below properties:\n\n#### to\n\nThe wallet address to mint the NFT(s) to.\n\nUse the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get the currently connected wallet address.\n\n#### quantity\n\nThe number of NFTs you wish to claim.\n\n- With ERC721 contracts, this represents the number of unique tokens you wish to claim.\n- With ERC1155 contracts, this represents the quantity of the specific " + }, + { + "kind": "code", + "text": "`tokenId`" + }, + { + "kind": "text", + "text": " you wish to claim.\n\n#### tokenId\n\nFor ERC1155 contracts, you must specify a specific " + }, + { + "kind": "code", + "text": "`tokenId`" + }, + { + "kind": "text", + "text": " to claim.\n\n#### options (optional)\n\nCustomizable " + }, + { + "kind": "code", + "text": "`ClaimOptions`" + }, + { + "kind": "text", + "text": " object to override the default behaviour of the hook.\n\nThere are three options available:\n\n- " + }, + { + "kind": "code", + "text": "`checkERC20Allowance`" + }, + { + "kind": "text", + "text": " - Whether to check the ERC20 allowance of the sender, defaults to true.\n- " + }, + { + "kind": "code", + "text": "`currencyAddress`" + }, + { + "kind": "text", + "text": " - The currency to pay for each token claimed, defaults to " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": " for native currency.\n- " + }, + { + "kind": "code", + "text": "`pricePerToken`" + }, + { + "kind": "text", + "text": " - The price to pay for each token claimed. Not relevant when using claim conditions.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useClaimNFT, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutate: claimNft, isLoading, error } = useClaimNFT(contract);\n\n return (\n \n claimNft({\n to: \"{{wallet_address}}\",\n quantity: 1,\n options: {\n checkERC20Allowance: true,\n currencyAddress: \"{{erc20_address}}\",\n pricePerToken: 0,\n },\n })\n }\n >\n Claim NFT\n \n );\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Claimable | ERC1155Claimable | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 421, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L421" + } + ], + "typeParameter": [ + { + "id": 492, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 493, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`DropContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 1178, + "name": "ClaimNFTReturnType", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1172, + "name": "ClaimNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 909, + "name": "useClaimToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 346, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L346" + } + ], + "signatures": [ + { + "id": 910, + "name": "useClaimToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for claiming a ERC20 tokens from a smart contract.\n\nAvailable to use on smart contracts that implement both the [ERC20](https://portal.thirdweb.com/contracts/build/extensions/erc-20/ERC20) interface\nand the [" + }, + { + "kind": "code", + "text": "`claim`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721Claimable) function,\nsuch as the [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useClaimToken, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: claimToken, isLoading, error } = useClaimToken(contract);\n\n return (\n \n claimToken({\n to: \"{{wallet_address}}\", // Use useAddress hook to get current wallet address\n amount: 100, // Amount of token to claim\n })\n }\n >\n Claim Token\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to tokens to the wallet specified in the params\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useClaimToken(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as an argument with the following properties:\n\n#### to (required)\nLikely, you will want to claim the token to the currently connected wallet address.\n\nYou can use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get this value.\n\n#### amount (required)\nThe amount of tokens to be claimed.\n\n#### checkERC20Allowance (optional)\nBoolean value to check whether the current wallet has enough allowance to pay for claiming the tokens before\nattempting to claim the tokens.\n\nDefaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 346, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L346" + } + ], + "parameters": [ + { + "id": 911, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 912, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/erc-20.d.ts", + "line": 443, + "character": 112 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1205, + "name": "ClaimTokenParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 483, + "name": "useClaimedNFTSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 246, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L246" + } + ], + "signatures": [ + { + "id": 484, + "name": "useClaimedNFTSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for retrieving the total supply of NFTs claimed from an NFT Drop contract.\n\nAvailable to use on contracts that implement [" + }, + { + "kind": "code", + "text": "`ERC721Claimable`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721Claimable)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useClaimedNFTSupply, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading } = useClaimedNFTSupply(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " representing the total supply of NFTs claimed from the NFT drop contract so far." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 246, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L246" + } + ], + "parameters": [ + { + "id": 485, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "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" + }, + "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": "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": 475, + "name": "useClaimedNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 154, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L154" + } + ], + "signatures": [ + { + "id": 476, + "name": "useClaimedNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching all claimed NFTs from a given NFT Drop contract.\n\nAvailable to use on contracts that implement [" + }, + { + "kind": "code", + "text": "`ERC721Claimable`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721Claimable),\nsuch as the [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useClaimedNFTs, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"nft-drop\");\n const { data: nfts, isLoading, error } = useClaimedNFTs(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query Result object that includes an array of NFTs that are claimed in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 154, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L154" + } + ], + "parameters": [ + { + "id": 477, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 478, + "name": "queryParams", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "By default, the hook will return the first " + }, + { + "kind": "code", + "text": "`100`" + }, + { + "kind": "text", + "text": " claimed NFTs\n\nYou can use the " + }, + { + "kind": "code", + "text": "`queryParams`" + }, + { + "kind": "text", + "text": " argument to paginate the NFTs that are returned.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useClaimedNFTs, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"nft-drop\");\n const { data, isLoading, error } = useClaimedNFTs(\n contract,\n {\n // For example, to only return the first 50 claimed NFTs in the collection\n // in order of token ID\n count: 50,\n start: 0,\n },\n );\n}\n```" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 479, + "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": 287, + "name": "useClaimerProofs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 217, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L217" + } + ], + "signatures": [ + { + "id": 288, + "name": "useClaimerProofs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the claimer proofs for an address for [ERC20](https://portal.thirdweb.com/contracts/build/base-contracts/erc-20/drop), [ERC721](https://portal.thirdweb.com/contracts/build/base-contracts/erc-721/drop), and [ERC1155](https://portal.thirdweb.com/contracts/build/base-contracts/erc-1155/drop) drop contracts.\n\nA claimer proof is a set of data about a claimer's claim condition, including the claimer's address, the claimer's proof, and the claimer's max claimable amount, price, and currency address.\n\nThis is available for available for contracts that implement the \"ClaimConditions\" interface; such as [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721), [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), and [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useClaimerProofs, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n\n const {\n data: proof,\n isLoading,\n error,\n } = useClaimerProofs(contract, \"{{claimer_address}}\");\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object with the snapshot for the provided address" + } + ] + }, + { + "tag": "@claimConditions", + "content": [] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 217, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L217" + } + ], + "parameters": [ + { + "id": 289, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the \"ClaimConditions\" extension." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 290, + "name": "claimerAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This is the address of the user you want to get the proof for.\n\nLikely, you will want to check proofs of the currently connected wallet address. You can use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get this value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 291, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When using the hook with ERC1155 contracts, pass the " + }, + { + "kind": "code", + "text": "`tokenId`" + }, + { + "kind": "text", + "text": "; as each token can have unique claim conditions.\n\nPass " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": ", or leave this field out if you are using ERC721 or ERC20 drop contracts." + } + ] + }, + "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": 292, + "name": "claimConditionId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This is the ID of the claim condition you want to get the proof 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": 293, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 294, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 224, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L224" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 298, + "name": "currencyAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 228, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L228" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 296, + "name": "maxClaimable", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 226, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L226" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 297, + "name": "price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 227, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L227" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 295, + "name": "proof", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 225, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L225" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 294, + 298, + 296, + 297, + 295 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 223, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L223" + } + ] + } + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 384, + "name": "useCompilerMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 147, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L147" + } + ], + "signatures": [ + { + "id": 385, + "name": "useCompilerMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for retrieving information such as the ABI, license, and metadata of a smart contract using it's contract address." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useCompilerMetadata } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { data, isLoading, error } = useCompilerMetadata(contractAddress);\n}\n\nexport default App;\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result containing the compiler metadata of the deployed contract in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property" + } + ] + }, + { + "tag": "@metadata", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 147, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L147" + } + ], + "parameters": [ + { + "id": 386, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the deployed contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 60, + "name": "useConnect", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 216, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L216" + } + ], + "signatures": [ + { + "id": 61, + "name": "useConnect", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for connecting a wallet to your app.\n\nThe wallet also needs to be added in " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "'s " + }, + { + "kind": "code", + "text": "`supportedWallets`" + }, + { + "kind": "text", + "text": " prop to enable auto-connection on page load." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useConnect, metamaskWallet } from \"@thirdweb-dev/react\";\n\nconst metamaskConfig = metamaskWallet();\n\nfunction App() {\n const connect = useConnect();\n\n return (\n {\n const wallet = await connect(metamaskConfig, connectOptions);\n console.log(\"connected to \", wallet);\n }}\n >\n Connect to MetaMask\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function to connect a wallet\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst connect = useConnect();\n\nfunction handleConnect() {\n const wallet = await connect(walletConfig, connectOptions);\n}\n```" + }, + { + "kind": "text", + "text": "\n\nThe function accepts two arguments: " + }, + { + "kind": "code", + "text": "`walletConfig`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`connectOptions`" + }, + { + "kind": "text", + "text": "\n\n#### walletConfig\nThe wallet to connect. Must be of type " + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": ".\n\n[Learn more about the available wallet options](https://portal.thirdweb.com/react/v4/connecting-wallets).\n\n#### connectOptions\nThe typeof " + }, + { + "kind": "code", + "text": "`connectOptions`" + }, + { + "kind": "text", + "text": " object depends on the wallet you are connecting. For some wallets, it may be optional\n\nIf you are using typescript, " + }, + { + "kind": "code", + "text": "`connect`" + }, + { + "kind": "text", + "text": " will automatically infer the type of " + }, + { + "kind": "code", + "text": "`connectOptions`" + }, + { + "kind": "text", + "text": " based on the " + }, + { + "kind": "code", + "text": "`walletConfig`" + }, + { + "kind": "text", + "text": " you pass in as the first argument and will show type errors if you pass in invalid options." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 216, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L216" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 62, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 97, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L97" + } + ], + "signatures": [ + { + "id": 63, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 97, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L97" + } + ], + "typeParameter": [ + { + "id": 64, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 65, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "ConnectFnArgs" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "ConnectFnArgs", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 66, + "name": "useConnectionStatus", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 279, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L279" + } + ], + "signatures": [ + { + "id": 67, + "name": "useConnectionStatus", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for checking whether your app is connected to a wallet or not." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useConnectionStatus } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const connectionStatus = useConnectionStatus();\n\n if (connectionStatus === \"unknown\") return

Loading...

;\n if (connectionStatus === \"connecting\") return

Connecting...

;\n if (connectionStatus === \"connected\") return

You are connected

;\n if (connectionStatus === \"disconnected\")\n return

You are not connected to a wallet

;\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The wallet connection status\n\nIt can be one of the following:\n- " + }, + { + "kind": "code", + "text": "`unknown`" + }, + { + "kind": "text", + "text": ": connection status is not known yet. This is the initial state.\n- " + }, + { + "kind": "code", + "text": "`connecting`" + }, + { + "kind": "text", + "text": ": wallet is being connected. Either because of a user action, or when the wallet is auto-connecting on page load.\n- " + }, + { + "kind": "code", + "text": "`connected`" + }, + { + "kind": "text", + "text": ": the wallet is connected and ready to be used.\n- " + }, + { + "kind": "code", + "text": "`disconnected`" + }, + { + "kind": "text", + "text": ": the wallet is not connected." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 279, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L279" + } + ], + "type": { + "type": "reference", + "target": 106, + "name": "ConnectionStatus", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 403, + "name": "useContract", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 214, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L214" + }, + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 249, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L249" + }, + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 275, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L275" + }, + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 281, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L281" + }, + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 291, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L291" + } + ], + "signatures": [ + { + "id": 404, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for connecting to a smart contract.\n\nProvide your smart contract address as the first parameter. Once connected, the " + }, + { + "kind": "code", + "text": "`contract`" + }, + { + "kind": "text", + "text": " will be an instance of your smart contract.\n\nThe ABI of the smart contract is resolved automatically for contracts deployed or imported using the [thirdweb dashboard](https://thirdweb.com/dashboard)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract, isLoading, error } = useContract(contractAddress);\n```" + } + ] + }, + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "To cache the ABI of the smart contract, use [thirdweb generate](https://portal.thirdweb.com/cli/generate). This is recommended to improve performance and provide type-safety when interacting with your smart contract." + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the contract once it is resolved" + } + ] + }, + { + "tag": "@contract", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 214, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L214" + } + ], + "parameters": [ + { + "id": 405, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the deployed contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": 466, + "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": 406, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If your contract is a prebuilt contract, it is strongly recommended you provide the contract's name as the second argument to gain access to improved top-level functions and type inference.\n\nAvailable contract types are:\n- " + }, + { + "kind": "code", + "text": "`\"nft-drop\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"signature-drop\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"edition-drop\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"nft-collection\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"edition\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"multiwrap\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"pack\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"token-drop\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"token\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"marketplace\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"marketplace-v3\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"split\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"vote\"`" + }, + { + "kind": "text", + "text": "\n\nWhen a contract type is provided, the contract object will be typed as the contract's class.\nFor example, if you provide the contract type " + }, + { + "kind": "code", + "text": "`\"pack\"`" + }, + { + "kind": "text", + "text": ", the contract object will be returned typed as an instance of the " + }, + { + "kind": "code", + "text": "`Pack`" + }, + { + "kind": "text", + "text": " class, unlocking all of the top-level functions specific to the pack." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract, isLoading, error } = useContract(contractAddress, \"pack\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the contract once it is resolved" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 249, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L249" + } + ], + "typeParameter": [ + { + "id": 407, + "name": "TContractType", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "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" + } + ] + } + } + ], + "parameters": [ + { + "id": 408, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the deployed contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 409, + "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": 466, + "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": 410, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optionally, (if you don’t want to use the dashboard import feature),\nyou can provide your smart contract’s ABI to the second parameter of the useContract hook.\nThis is useful when developing on a local node, where it may be faster to use the ABI than to import the contract using the dashboard.\n\nThe ABI is only necessary if you have not deployed your contract with, or imported your contract to the [thirdweb dashboard](https://thirdweb.com/dashboard)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract, isLoading, error } = useContract(contractAddress, contractAbi);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the contract once it is resolved" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 275, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L275" + } + ], + "parameters": [ + { + "id": 411, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the deployed contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 412, + "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": 466, + "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": 413, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 281, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L281" + } + ], + "typeParameter": [ + { + "id": 414, + "name": "TContractAddress", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 415, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": 466, + "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": 434, + "name": "useContractEvents", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 543, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L543" + } + ], + "signatures": [ + { + "id": 435, + "name": "useContractEvents", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for reading events emitted by a smart contract, including new events as they are emitted (optional).\n\nBy default, it reads all events emitted by the smart contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { useContractEvents, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useContractEvents(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains an array of " + }, + { + "kind": "code", + "text": "`ContractEvent`" + }, + { + "kind": "text", + "text": " objects" + } + ] + }, + { + "tag": "@contract", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 543, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L543" + } + ], + "parameters": [ + { + "id": 436, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The contract instance of the contract to listen to events for" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 437, + "name": "eventName", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the event to query for.\n\nFor example, if your smart contract emits an event called " + }, + { + "kind": "code", + "text": "`MyEvent`" + }, + { + "kind": "text", + "text": ", you would pass " + }, + { + "kind": "code", + "text": "`\"MyEvent\"`" + }, + { + "kind": "text", + "text": " to this parameter.\n\nOmit this parameter or provide undefined to query for all events emitted by the smart contract." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing options to filter the events being queried.\n\nAvailable options include\n- " + }, + { + "kind": "code", + "text": "`queryFilter`" + }, + { + "kind": "text", + "text": " to refine which events you want to read,\n- a boolean " + }, + { + "kind": "code", + "text": "`subscribe`" + }, + { + "kind": "text", + "text": " flag to subscribe to new events as they are emitted.\n\n### Example\n" + }, + { + "kind": "code", + "text": "```tsx\nimport {\n useContractEvents,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useContractEvents(\n contract,\n \"MyEvent\",\n {\n queryFilter: {\n filters: {\n tokenId: 123, // e.g. Only events where tokenId = 123\n },\n fromBlock: 0, // Events starting from this block\n toBlock: 100, // Events up to this block\n order: \"asc\", // Order of events (\"asc\" or \"desc\")\n },\n subscribe: true, // Subscribe to new events\n },\n );\n```" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 439, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 440, + "name": "queryFilter", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 546, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L546" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/events.ts", + "qualifiedName": "EventQueryOptions" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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": 441, + "name": "subscribe", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 546, + "character": 46, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L546" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 440, + 441 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 546, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L546" + } + ] + } + }, + "defaultValue": "..." + } + ], + "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.2.2/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": 416, + "name": "useContractMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 386, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L386" + } + ], + "signatures": [ + { + "id": 417, + "name": "useContractMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the metadata of given contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: contractMetadata, isLoading } = useContractMetadata(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Query result object that includes the contract metadata of the deployed contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ContractMetadata" + } + ] + }, + { + "tag": "@metadata", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 386, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L386" + } + ], + "typeParameter": [ + { + "id": 418, + "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": 419, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`ValidContractInstance`" + }, + { + "kind": "text", + "text": " instance of the contract to get the metadata for" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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": 420, + "name": "useContractMetadataUpdate", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 438, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L438" + } + ], + "signatures": [ + { + "id": 421, + "name": "useContractMetadataUpdate", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Update the metadata of the given 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": "Mutation object to update the contract metadata" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ContractMetadata" + } + ] + }, + { + "tag": "@metadata", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 438, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L438" + } + ], + "parameters": [ + { + "id": 422, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`ValidContractInstance`" + }, + { + "kind": "text", + "text": " instance of the contract to get the metadata for" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 423, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 425, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 443, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L443" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 426, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 443, + "character": 10, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L443" + } + ], + "signatures": [ + { + "id": 427, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 424, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 442, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L442" + } + ], + "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": [ + 425, + 424 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 441, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L441" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 428, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 433, + "name": "app_uri", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 451, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L451" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 448, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L448" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 432, + "name": "external_link", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 450, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L450" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 431, + "name": "image", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 449, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L449" + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 429, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 447, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L447" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 433, + 430, + 432, + 431, + 429 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 446, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L446" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 442, + "name": "useContractRead", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 671, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L671" + } + ], + "signatures": [ + { + "id": 443, + "name": "useContractRead", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Generic hook for reading any data from a smart contract via it’s function/view/variable name.\n\n" + }, + { + "kind": "code", + "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { data, isLoading, error } = useContractRead(contract, \"functionName\", args);\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Provide your smart contract instance from " + }, + { + "kind": "code", + "text": "`useContract`" + }, + { + "kind": "text", + "text": ", a function name and the arguments to pass to the function (if any).\n\nFor example, to read the value of a view on your smart contract called " + }, + { + "kind": "code", + "text": "`getName`" + }, + { + "kind": "text", + "text": " you would do the following:\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useContractRead, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useContractRead(contract, \"getName\");\n}\n```" + } + ] + }, + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "If you have cached the ABI of your smart contract using [thirdweb generate](https://portal.thirdweb.com/cli/generate), the functionName and args parameters are strongly typed according to your smart contract’s ABI." + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the data returned by the function call" + } + ] + }, + { + "tag": "@contract", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 671, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L671" + } + ], + "typeParameter": [ + { + "id": 444, + "name": "TContractAddress", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 445, + "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": 446, + "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": 447, + "name": "TFunctionName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 448, + "name": "TArgs", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + }, + { + "id": 449, + "name": "TReturnType", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 450, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 451, + "name": "functionName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the function to call in the smart contract. This can be any function, view, variable, etc. that does not require a transaction to occur." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": -1, + "name": "TFunctionName", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 452, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The arguments to pass to the function (if any)" + } + ] + }, + "type": { + "type": "reference", + "target": -1, + "name": "TArgs", + "refersToTypeParameter": true + } + }, + { + "id": 453, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "code", + "text": "`CallOverrides`" + }, + { + "kind": "text", + "text": " object to send with your request.\n\nTo include the sender's address (msg.sender) when calling view functions within your smart contract, include the property " + }, + { + "kind": "code", + "text": "`{from: 0X123}`" + }, + { + "kind": "text", + "text": " passing the relevant address.\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { data, isLoading, error } = useContractRead(contract, \"getName\", [\"arg1\", \"arg2\"], {\n blockTag: 123,\n from: \"0x123\",\n });\n```" + } + ] + }, + "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": 365, + "name": "useContractType", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 77, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L77" + } + ], + "signatures": [ + { + "id": 366, + "name": "useContractType", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for determining the type of contract for a contract address.\n\nThis is useful if you want to determine if a contract is a [prebuilt contract](https://portal.thirdweb.com/pre-built-contracts)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContractType } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { data, isLoading, error } = useContractType(contractAddress);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result containing the type of the contract in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property" + } + ] + }, + { + "tag": "@metadata", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 77, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L77" + } + ], + "parameters": [ + { + "id": 367, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": null + }, + { + "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": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 454, + "name": "useContractWrite", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 774, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L774" + } + ], + "signatures": [ + { + "id": 455, + "name": "useContractWrite", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Generic hook for calling any smart contract function that requires a transaction to take place.\n\nProvide your smart contract instance returned from the " + }, + { + "kind": "code", + "text": "`useContract`" + }, + { + "kind": "text", + "text": " hook, along with the name of the function you wish to call on your smart contract as arguments to the hook.\n\nThen call the " + }, + { + "kind": "code", + "text": "`mutate`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`mutateAsync`" + }, + { + "kind": "text", + "text": " function returned by the hook, providing an array of arguments to send to your smart contract function.\n\nIf you provide too many or too few arguments, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be populated with an error message.\n\nIf your function has no arguments, provide an empty array by calling the function with " + }, + { + "kind": "code", + "text": "`{ args: [] }`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContractWrite, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync, isLoading, error } = useContractWrite(\n contract,\n \"setName\",\n );\n\n return (\n mutateAsync({ args: [\"My Name\"] })}\n >\n Send Transaction\n \n );\n}\n```" + } + ] + }, + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "If you have cached the ABI of your smart contract using [thirdweb generate](https://portal.thirdweb.com/cli/generate), the functionName and args parameters are strongly typed according to your smart contract’s ABI." + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object that includes the write function to call" + } + ] + }, + { + "tag": "@contract", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 774, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L774" + } + ], + "typeParameter": [ + { + "id": 456, + "name": "TContractAddress", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 457, + "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": 458, + "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": 459, + "name": "TFunctionName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "TArgs", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 461, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 462, + "name": "functionName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the function to call in the smart contract." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithMetadata" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "TransactionResultWithMetadata", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 464, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 813, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L813" + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TArgs", + "refersToTypeParameter": true + } + }, + { + "id": 465, + "name": "overrides", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 814, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L814" + } + ], + "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": [ + 464, + 465 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contracts.ts", + "line": 812, + "character": 7, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contracts.ts#L812" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 935, + "name": "useCreateAccount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 163, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L163" + } + ], + "signatures": [ + { + "id": 936, + "name": "useCreateAccount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a account in the account factory contract" + } + ], + "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 to create a account" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AccountFactory" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 163, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L163" + } + ], + "parameters": [ + { + "id": 937, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithAddress" + }, + "name": "TransactionResultWithAddress", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 595, + "name": "useCreateAuctionListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2141, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2141" + } + ], + "signatures": [ + { + "id": 596, + "name": "useCreateAuctionListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for creating an auction listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " or\n[MarketplaceV3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) smart contract.\n\nAuction listings hold the NFTs in escrow; requiring the seller to transfer the NFTs to the marketplace contract\nas part of the listing creation process.\n\nProvide your " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": "\nor\n[MarketplaceV3](https://thirdweb.com/thirdweb.eth/MarketplaceV3)\ncontract as the argument to the hook.\n\nThen, provide the information about the listing you want to create as the argument to the mutation." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useCreateAuctionListing,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\nimport { NATIVE_TOKEN_ADDRESS } from \"@thirdweb-dev/sdk\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n mutateAsync: createAuctionListing,\n isLoading,\n error,\n } = useCreateAuctionListing(contract);\n\n return (\n \n createAuctionListing({\n tokenId: \"{{token_id}}\", // The ID of the token to list.\n assetContractAddress: \"{{asset_contract_address}}\", // The contract address of the asset being listed.\n currencyContractAddress: NATIVE_TOKEN_ADDRESS, // The address of the currency to accept for the listing.\n quantity: \"{{quantity}}\",\n startTimestamp: new Date(),\n buyoutBidAmount: \"{{buyout_bid_amount}}\",\n minimumBidAmount: \"{{minimum_bid_amount}}\",\n endTimestamp: new Date(),\n bidBufferBps: \"{{bid_buffer_bps}}\",\n timeBufferInSeconds: \"{{time_buffer_in_seconds}}\",\n })\n }\n >\n Create Auction Listing\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to create a new auction listing.\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useCreateAuctionListing(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an object of type " + }, + { + "kind": "code", + "text": "`NewAuctionListing`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`EnglishAuctionInputParams`" + }, + { + "kind": "text", + "text": " as its argument which contains the following properties:\n\n#### tokenId (required)\nThe token ID of the NFT you are listing for auction.\n\n#### assetContractAddress (required)\nThe smart contract address of the NFT you are listing for auction.\n\n#### buyoutBidAmount (required)\nThe price to **buy** each token in the listing.\n\n- For ERC721 NFTs, this is the price to buy the NFT outright.\n- For ERC1155 NFTs, this is the price to " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " quantity of the NFT.\n\n#### currencyContractAddress (optional)\nThe address of the currency you want users to pay with and make bids in.\n\nYou likely want to use the token native to the chain you are on, e.g. Ether on Ethereum.\n\nTo do that, you can import the " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": " constant from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/sdk`" + }, + { + "kind": "text", + "text": ".\n\nThe default value is " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": ".\n\n\n#### quantity (optional)\nHow many tokens to include in the listing.\n\n- For ERC721 NFTs, this is always " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": ".\n- For ERC1155 NFTs, this is the quantity of tokens to include in the listing.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": ".\n\n#### minimumBidAmount (required)\nThe minimum price that a bid must be in order to be placed on the listing, per token.\n\nBids that are lower than the reserve price will be rejected by the contract.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": ".\n\n\n#### startTimestamp (optional)\nA " + }, + { + "kind": "code", + "text": "`Date`" + }, + { + "kind": "text", + "text": " object for the start time of the listing.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`new Date()`" + }, + { + "kind": "text", + "text": ", which is the current time.\n\n\n#### endTimestamp (optional)\nA " + }, + { + "kind": "code", + "text": "`Date`" + }, + { + "kind": "text", + "text": " object for the end time of the listing (when the listing will expire).\n\n#### bidBufferBps (optional)\nBid buffer in basis points (1/100th of a percent).\n\nThe bid buffer is what percentage higher the next bid must be than the current highest bid.\n\nFor example, if you set a bid buffer of " + }, + { + "kind": "code", + "text": "`100`" + }, + { + "kind": "text", + "text": ", then the next bid must be at least " + }, + { + "kind": "code", + "text": "`1%`" + }, + { + "kind": "text", + "text": " higher than the current highest bid.\n\n#### timeBufferInSeconds (optional)\nTime buffer in seconds.\n\nThe time buffer is how much time is added to the listing when a new bid is placed.\n\nThis is to prevent users from placing a bid at the last second and winning the auction." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2141, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2141" + } + ], + "typeParameter": [ + { + "id": 597, + "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": 598, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithId" + }, + "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": 599, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/schema/marketplacev3/english-auctions.d.ts", + "line": 65, + "character": 3 + } + ] + } + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 590, + "name": "useCreateDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1885, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1885" + } + ], + "signatures": [ + { + "id": 591, + "name": "useCreateDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for creating a new direct listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": "\nor [MarketplaceV3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) smart contract.\n\nDirect listings require the user to approve the marketplace to transfer the NFTs on their behalf as part of the listing creation process.\nThis is because the marketplace needs permission to execute sales and transfer the NFTs to the buyer when a sale is made." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useCreateDirectListing,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n mutateAsync: createDirectListing,\n isLoading,\n error,\n } = useCreateDirectListing(contract);\n\n return (\n \n createDirectListing({\n assetContractAddress: \"{{asset_contract_address}}\",\n tokenId: \"{{token_id}}\",\n pricePerToken: \"{{price_per_token}}\",\n currencyContractAddress: \"{{currency_contract_address}}\",\n isReservedListing: false,\n quantity: \"{{quantity}}\",\n startTimestamp: new Date(),\n endTimestamp: new Date(\n new Date().getTime() + 7 * 24 * 60 * 60 * 1000,\n ),\n })\n }\n >\n Create Direct Listing\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to create a new direct listing\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useCreateDirectListing(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as an argument with the following properties:\n\n#### assetContractAddress (required)\nThe address of the NFT smart contract that you want to list.\n\n#### tokenId (required)\nThe token ID of the NFT that you want to list.\n\n#### pricePerToken (required)\nThe price to **buy** each token in the listing.\n\n- For ERC721 NFTs, this is the price to buy the NFT outright.\n- For ERC1155 NFTs, this is the price to " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " quantity of the NFT.\n\n#### currencyContractAddress (optional)\nThe address of the currency you want users to pay with and make bids in.\n\nYou likely want to use the token native to the chain you are on, e.g. Ether on Ethereum.\n\nTo do that, you can import the " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": " constant from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/sdk`" + }, + { + "kind": "text", + "text": ".\n\nThe default value is " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": ".\n\n#### isReservedListing (optional)\nWhen set to true, the seller must explicitly approve which wallet addresses can buy the NFT.\n\n#### quantity (optional)\nHow many tokens to include in the listing.\n\n- For ERC721 NFTs, this is always " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": ".\n- For ERC1155 NFTs, this is the quantity of tokens to include in the listing.\n\n#### startTimestamp (optional)\nA " + }, + { + "kind": "code", + "text": "`Date`" + }, + { + "kind": "text", + "text": " object for the start time of the listing.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`new Date()`" + }, + { + "kind": "text", + "text": ", which is the current time.\n\n#### endTimestamp (optional)\nA " + }, + { + "kind": "code", + "text": "`Date`" + }, + { + "kind": "text", + "text": " object for the end time of the listing (when the listing will expire)." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1885, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1885" + } + ], + "typeParameter": [ + { + "id": 592, + "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": 593, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithId" + }, + "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": 594, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/schema/marketplacev3/direct-listings.d.ts", + "line": 49, + "character": 3 + } + ] + } + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 772, + "name": "useCreateDirectListingBatch", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1981, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1981" + } + ], + "signatures": [ + { + "id": 773, + "name": "useCreateDirectListingBatch", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create multiple direct listings in one batch" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: createDirectListingBatch,\n isLoading,\n error,\n } = useCreateDirectListingBatch(contract);\n\n if (error) {\n console.error(\"failed to create direct listing batch\", error);\n }\n \n // Sample data\n const directListingData = [\n {\n assetContractAddress: \"nft-contract-address\",\n tokenId: \"token-id-1\",\n quantity: \"quantity-1\",\n currencyContractAddress: \"currency-address\",\n pricePerToken: 1\n },\n {\n assetContractAddress: \"nft-contract-address\",\n tokenId: \"token-id-2\",\n quantity: 1,\n currencyContractAddress: \"currency-address\",\n pricePerToken: 0\n },\n ];\n return (\n createDirectListingBatch(directListingData)}\n >\n Create batch Direct Listing!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to create a new batch of direct listings" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1981, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1981" + } + ], + "typeParameter": [ + { + "id": 774, + "name": "TMarketplaceV3", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + } + ], + "parameters": [ + { + "id": 775, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TMarketplaceV3", + "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": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithId" + }, + "name": "TransactionResultWithId", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 776, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/schema/marketplacev3/direct-listings.d.ts", + "line": 49, + "character": 3 + } + ] + } + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 949, + "name": "useCreateSessionKey", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 194, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L194" + } + ], + "signatures": [ + { + "id": 950, + "name": "useCreateSessionKey", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create and add a session key for the smart wallet account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\n const 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 keyAddress,\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" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to create and add a session key for the smart wallet\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useCreateSessionKey();\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object with the following properties as argument:\n\n#### address\nThe address to add as an admin on the account as a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": ".\n\n#### approvedCallTargets\nAn array of addresses that the session key can call as a " + }, + { + "kind": "code", + "text": "`string[]`" + }, + { + "kind": "text", + "text": ".\n\n#### nativeTokenLimitPerTransaction\nThe maximum amount of native token (in ETH) that the session key can spend per transaction as a " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": ".\n\n#### startDate\nThe date when the session key becomes active as a " + }, + { + "kind": "code", + "text": "`Date`" + }, + { + "kind": "text", + "text": ".\n\n#### startDate\nThe date when the session key expires as a " + }, + { + "kind": "code", + "text": "`Date`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 194, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L194" + } + ], + "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": "src/evm/hooks/async/account.ts", + "qualifiedName": "CreateSessionKeyInput" + }, + "name": "CreateSessionKeyInput", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 68, + "name": "useCreateWalletInstance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 379, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L379" + } + ], + "signatures": [ + { + "id": 69, + "name": "useCreateWalletInstance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for creating a wallet instance from given " + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " object.\n\nIf you just want to connect the wallet and don't need the wallet instance before connecting the wallet, use the " + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": " hook instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useConnect, metamaskWallet } from \"@thirdweb-dev/react\";\n\nconst metamaskConfig = metamaskWallet();\n\nfunction App() {\n const createWalletInstance = useCreateWalletInstance();\n\n return (\n {\n const metamaskWalletInstance = createWalletInstance(metamaskConfig);\n console.log(metamaskWalletInstance);\n }}\n >\n create wallet instance\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function that creates a wallet instance for given " + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " object." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 379, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L379" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 70, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 101, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L101" + } + ], + "signatures": [ + { + "id": 71, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 101, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L101" + } + ], + "typeParameter": [ + { + "id": 72, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 73, + "name": "Wallet", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 141, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ] + } + } + } + ] + }, + { + "id": 502, + "name": "useDelayedRevealLazyMint", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 679, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L679" + } + ], + "signatures": [ + { + "id": 503, + "name": "useDelayedRevealLazyMint", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to lazy-mint a batch of NFTs with [delayed reveal](https://portal.thirdweb.com/glossary/delayed-reveal);\nallowing the owner to set placeholder metadata and reveal the metadata of the NFTs at a later time.\n\nAvailable to use on contracts that implement the\n[ERC721Revealable](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721Revealable)\nor [ERC1155Revealable](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155Revealable)\ninterfaces." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport {\n useDelayedRevealLazyMint,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: mintNft,\n isLoading,\n error,\n } = useDelayedRevealLazyMint(contract);\n\n const nftData = {\n placeholder: {\n name: \"My NFT\",\n description: \"This is my NFT\",\n image: \"ipfs://example.com/my-nft.png\", // Accepts any URL or File type\n },\n metadatas: [\n {\n name: \"My NFT\",\n description: \"This is my NFT\",\n image: \"ipfs://example.com/my-nft.png\", // Accepts any URL or File type\n },\n ],\n password: \"{{password}}\", // Password to be used for encryption\n };\n\n return (\n mintNft(nftData)}\n >\n Mint NFTs\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to lazy mint a batch of NFTs\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useDelayedRevealLazyMint(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as argument with below properties:\n\n#### metadatas\nAn array of metadata objects, representing the metadata of the NFTs to be lazy-minted. Each metadata object must conform to the [standard metadata properties](https://docs.opensea.io/docs/metadata-standards).\n\n#### password\nThe password used to encrypt the metadatas.\n\n__The password CANNOT be recovered once it is set. If you lose the password, you will not be able to reveal the metadata.__" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Revealable | ERC1155Revealable" + } + ] + }, + { + "tag": "@delayedReveal", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 679, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L679" + } + ], + "typeParameter": [ + { + "id": 504, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1162, + "name": "RevealableContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 505, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "DropContract", + "target": 1161, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 506, + "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": 507, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 681, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L681" + } + ], + "signatures": [ + { + "id": 508, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 681, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L681" + } + ], + "parameters": [ + { + "id": 509, + "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/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithId" + }, + "name": "TransactionResultWithId", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1163, + "name": "DelayedRevealLazyMintInput", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 523, + "name": "useDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 259, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L259" + } + ], + "signatures": [ + { + "id": 524, + "name": "useDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get a specific direct listing from a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\n__This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.__\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useListing`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useDirectListing, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: directListing,\n isLoading,\n error,\n } = useDirectListing(contract, listingId);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's data property, once loaded, is a " + }, + { + "kind": "code", + "text": "`DirectListingV3`" + }, + { + "kind": "text", + "text": " object, containing the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n // The id of the listing.\n id: string;\n // The address of the creator of listing.\n creatorAddress: string;\n // The address of the asset being listed.\n assetContractAddress: string;\n // The ID of the token to list.\n tokenId: string;\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: string;\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n currencyValuePerToken: CurrencyValue;\n // The price to pay per unit of NFTs listed.\n pricePerToken: string;\n // The asset being listed.\n asset: NFTMetadata;\n // The start time of the listing.\n startTimeInSeconds: number;\n // The end time of the listing.\n endTimeInSeconds: number;\n // Whether the listing is reserved to be bought from a specific set of buyers.\n isReservedListing: boolean;\n // Whether the listing is CREATED, COMPLETED, or CANCELLED.\n status: Status;\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 259, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L259" + } + ], + "parameters": [ + { + "id": 525, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 526, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the listing to get. If the listing is not found (or is not a direct listing), the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set in the return value of the hook." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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/evm/types/marketplacev3/DirectListingV3.ts", + "qualifiedName": "DirectListingV3" + }, + "name": "DirectListingV3", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 535, + "name": "useDirectListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 632, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L632" + } + ], + "signatures": [ + { + "id": 536, + "name": "useDirectListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get all the direct listings from a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\n__This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.__\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useListings`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useDirectListings, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: directListings,\n isLoading,\n error,\n } = useDirectListings(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's data property, once loaded, is a " + }, + { + "kind": "code", + "text": "`DirectListingV3`" + }, + { + "kind": "text", + "text": " object, containing the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n // The id of the listing.\n id: string;\n // The address of the creator of listing.\n creatorAddress: string;\n // The address of the asset being listed.\n assetContractAddress: string;\n // The ID of the token to list.\n tokenId: string;\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: string;\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n currencyValuePerToken: CurrencyValue;\n // The price to pay per unit of NFTs listed.\n pricePerToken: string;\n // The asset being listed.\n asset: NFTMetadata;\n // The start time of the listing.\n startTimeInSeconds: number;\n // The end time of the listing.\n endTimeInSeconds: number;\n // Whether the listing is reserved to be bought from a specific set of buyers.\n isReservedListing: boolean;\n // Whether the listing is CREATED, COMPLETED, or CANCELLED.\n status: Status;\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 632, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L632" + } + ], + "parameters": [ + { + "id": 537, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 538, + "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\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useDirectListings, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: directListings,\n isLoading,\n error,\n } = useDirectListings(\n contract,\n {\n count: 100, // Number of listings to fetch\n offeror: \"{{offeror_address}}\", // Has offers from this address\n seller: \"{{seller_address}}\", // Being sold by this address\n start: 0, // Start from this index (pagination)\n tokenContract: \"{{token_contract_address}}\", // Only show listings for NFTs from this collection\n tokenId: \"{{token_id}}\", // Only show listings with this NFT ID\n },\n );\n}\n```" + } + ] + }, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplacev3/DirectListingV3.ts", + "qualifiedName": "DirectListingV3" + }, + "name": "DirectListingV3", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 554, + "name": "useDirectListingsCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1134, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1134" + } + ], + "signatures": [ + { + "id": 555, + "name": "useDirectListingsCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the total number of direct listings on a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\n__This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.__\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useListingsCount`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useDirectListingsCount, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: listingsCount,\n isLoading,\n error,\n } = useDirectListingsCount(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " containing the number of direct listings on the Marketplace V3 contract." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1134, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1134" + } + ], + "parameters": [ + { + "id": 556, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "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": 74, + "name": "useDisconnect", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 242, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L242" + } + ], + "signatures": [ + { + "id": 75, + "name": "useDisconnect", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for disconnecting the currently connected wallet." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useDisconnect } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const disconnect = useDisconnect();\n\n return ;\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function to disconnect from current connected wallet" + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 242, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L242" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 76, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 98, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L98" + } + ], + "signatures": [ + { + "id": 77, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 98, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L98" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 527, + "name": "useEnglishAuction", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 357, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L357" + } + ], + "signatures": [ + { + "id": 528, + "name": "useEnglishAuction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get an english auction listing from a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\n**Note: This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.**\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": "\ncontracts, use " + }, + { + "kind": "code", + "text": "`useListing`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useEnglishAuction, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: englishAuction,\n isLoading,\n error,\n } = useEnglishAuction(contract, listingId);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, will be an " + }, + { + "kind": "code", + "text": "`EnglishAuction`" + }, + { + "kind": "text", + "text": " object, containing the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n // The id of the auction\n id: string;\n // The address of the creator of auction.\n creatorAddress: string;\n // The address of the asset being auctioned.\n assetContractAddress: string;\n // The ID of the token to auction.\n tokenId: string;\n // The quantity of tokens to include in the auction.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: string;\n // The address of the currency to accept for the auction.\n currencyContractAddress: string;\n // The minimum price that a bid must be in order to be accepted.\n minimumBidAmount: string;\n // The `CurrencyValue` of the minimum bid amount.\n // Useful for displaying the price information.\n minimumBidCurrencyValue: CurrencyValue;\n // The buyout price of the auction.\n buyoutBidAmount: string;\n // The `CurrencyValue` of the buyout price.\n // Useful for displaying the price information.\n buyoutCurrencyValue: CurrencyValue;\n // This is a buffer e.g. x seconds.\n // If a new winning bid is made less than x seconds before expirationTimestamp, the\n // expirationTimestamp is increased by x seconds.\n timeBufferInSeconds: number;\n // This is a buffer in basis points e.g. x%.\n // To be considered as a new winning bid, a bid must be at least x% greater than\n // the current winning bid.\n bidBufferBps: number;\n // The start time of the auction.\n startTimeInSeconds: number;\n // The end time of the auction.\n endTimeInSeconds: number;\n // The asset being auctioned.\n asset: NFTMetadata;\n // Whether the listing is CREATED, COMPLETED, or CANCELLED.\n status: Status;\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 357, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L357" + } + ], + "parameters": [ + { + "id": 529, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 530, + "name": "auctionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the auction id to check. If the listing with this ID cannot be found (or is not an auction), the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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/evm/types/marketplacev3/EnglishAuction.ts", + "qualifiedName": "EnglishAuction" + }, + "name": "EnglishAuction", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 568, + "name": "useEnglishAuctionWinningBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1485, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1485" + } + ], + "signatures": [ + { + "id": 569, + "name": "useEnglishAuctionWinningBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the winning bid for an English auction listing from a\n[Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useEnglishAuctionWinningBid, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: winningBid,\n isLoading,\n error,\n } = useEnglishAuctionWinningBid(contract, listingId);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "If there are no bids, the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property will be " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": ". Use the " + }, + { + "kind": "code", + "text": "`isLoading`" + }, + { + "kind": "text", + "text": " property to differentiate between\nthe loading state and the no bids state.\n\nIf there is a bid, the hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, will be an object of type " + }, + { + "kind": "code", + "text": "`Bid`" + }, + { + "kind": "text", + "text": ", containing the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n // The id of the auction.\n auctionId: string;\n // The address of the buyer who made the offer.\n bidderAddress: string;\n // The currency contract address of the offer token.\n currencyContractAddress: string;\n // The amount of coins offered per token.\n bidAmount: string;\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n bidAmountCurrencyValue: {\n symbol: string;\n value: BigNumber;\n name: string;\n decimals: number;\n displayValue: string;\n }\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1485, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1485" + } + ], + "parameters": [ + { + "id": 570, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 571, + "name": "auctionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The auction id to check\nIf the listing cannot be found, or is not an English auction, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplacev3/Bid.ts", + "qualifiedName": "Bid" + }, + "name": "Bid", + "package": "@thirdweb-dev/sdk" + } + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 543, + "name": "useEnglishAuctions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 893, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L893" + } + ], + "signatures": [ + { + "id": 544, + "name": "useEnglishAuctions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get a list of all English auctions from a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\n**Note: This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.**\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useListings`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useEnglishAuctions, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: englishAuctions,\n isLoading,\n error,\n } = useEnglishAuctions(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's data property, once loaded, is an array of EnglishAuction objects, each containing the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\nArray<{\n // The id of the auction\n id: string;\n\n // The address of the creator of auction.\n creatorAddress: string;\n\n // The address of the asset being auctioned.\n assetContractAddress: string;\n\n // The ID of the token to auction.\n tokenId: string;\n\n // The quantity of tokens to include in the auction.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: string;\n\n // The address of the currency to accept for the auction.\n currencyContractAddress: string;\n\n // The minimum price that a bid must be in order to be accepted.\n minimumBidAmount: string;\n\n // The `CurrencyValue` of the minimum bid amount.\n // Useful for displaying the price information.\n minimumBidCurrencyValue: CurrencyValue;\n\n // The buyout price of the auction.\n buyoutBidAmount: string;\n\n // The `CurrencyValue` of the buyout price.\n // Useful for displaying the price information.\n buyoutCurrencyValue: CurrencyValue;\n\n // This is a buffer e.g. x seconds.\n // If a new winning bid is made less than x seconds before expirationTimestamp, the\n // expirationTimestamp is increased by x seconds.\n timeBufferInSeconds: number;\n\n // This is a buffer in basis points e.g. x%.\n // To be considered as a new winning bid, a bid must be at least x% greater than\n // the current winning bid.\n bidBufferBps: number;\n\n // The start time of the auction.\n startTimeInSeconds: number;\n\n // The end time of the auction.\n endTimeInSeconds: number;\n\n // The asset being auctioned.\n asset: NFTMetadata;\n\n // Whether the listing is CREATED, COMPLETED, or CANCELLED.\n status: Status;\n}>;\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 893, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L893" + } + ], + "parameters": [ + { + "id": 545, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 546, + "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\n\n" + }, + { + "kind": "code", + "text": "```ts\nimport { useEnglishAuctions, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: englishAuctions,\n isLoading,\n error,\n } = useEnglishAuctions(\n contract,\n {\n count: 100, // Number of auctions to fetch\n offeror: \"{{offeror_address}}\", // Has offers from this address\n seller: \"{{seller_address}}\", // Being sold by this address\n start: 0, // Start from this index (pagination)\n tokenContract: \"{{token_contract_address}}\", // Only show NFTs from this collection\n tokenId: \"{{token_id}}\", // Only show NFTs with this ID\n },\n );\n}\n```" + } + ] + }, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplacev3/EnglishAuction.ts", + "qualifiedName": "EnglishAuction" + }, + "name": "EnglishAuction", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 557, + "name": "useEnglishAuctionsCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1179, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1179" + } + ], + "signatures": [ + { + "id": 558, + "name": "useEnglishAuctionsCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the total number of direct listings on a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\n__This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.__\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useListingsCount`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useEnglishAuctionsCount, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: englishAuctionsCount,\n isLoading,\n error,\n } = useEnglishAuctionsCount(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " representing the number of direct listings on the Marketplace V3 contract." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1179, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1179" + } + ], + "parameters": [ + { + "id": 559, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`MarketplaceV3`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "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": 628, + "name": "useExecuteAuctionSale", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2791, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2791" + } + ], + "signatures": [ + { + "id": 629, + "name": "useExecuteAuctionSale", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for executing a sale of an auction listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract.\n\nTriggers a new sale, transferring the NFT(s) to the buyer and the funds to the seller.\n\nA sale must be executed when an auction ends, and the auction has a winning bid that was below the buyout price. This means the\nauction has finished, and the highest bidder has won the auction. **Any wallet** can now execute the sale, transferring the NFT(s)\nto the buyer and the funds to the seller." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useExecuteAuctionSale,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const {\n mutateAsync: executeAuctionSale,\n isLoading,\n error,\n } = useExecuteAuctionSale(contract);\n\n return (\n \n executeAuctionSale({\n // The listingId of the auction to execute\n listingId: \"{{listing_id}}\",\n })\n }\n >\n Execute Auction Sale\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to accept an offer on a direct listing\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useExecuteAuctionSale(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function accepts an object as argument with the following properties:\n\n#### listingId\nThe ID of the auction listing to execute the sale on. If the listing cannot be found, is not an auction, or is not ready to be executed, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2791, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2791" + } + ], + "parameters": [ + { + "id": 630, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 631, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/internal/marketplace/marketplace-auction.d.ts", + "line": 232, + "character": 48 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1192, + "name": "ExecuteAuctionSale", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 861, + "name": "useGrantRole", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 376, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L376" + } + ], + "signatures": [ + { + "id": 862, + "name": "useGrantRole", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for granting a role on a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`Permissions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/Permissions) interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useGrantRole, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nconst contractAddress = \"{{contract_address}}\";\nconst roleToGrant = \"{{role}}\";\nconst walletAddressToGrant = \"{{wallet_address}}\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: grantRole, isLoading, error } = useGrantRole(contract);\n\n return (\n \n grantRole({\n role: roleToGrant, // name of your role.\n address: walletAddressToGrant, // address to grant the role to.\n })\n }\n >\n Grant Role\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to grant a member of a role on the contract\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useGrantRole(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function accepts an object with the following properties:\n\n#### role\nThe name of the role to grant the address.\n\nAccepts any " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " value to include custom-defined roles.\n\nAlso accepts the default roles available on the [prebuilt contracts](https://portal.thirdweb.com/pre-built-contracts):\n\n" + }, + { + "kind": "code", + "text": "```ts\n string |\n \"admin\" |\n \"minter\" |\n \"transfer\" |\n \"lister\" |\n \"asset\" |\n \"unwrap\" |\n \"pauser\" |\n \"factory\";\n```" + }, + { + "kind": "text", + "text": "\n\n#### address\nThe address to grant the role to.\n\nTo use the address of the connected wallet, use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions | PermissionsEnumerable" + } + ] + }, + { + "tag": "@permissionControl", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 376, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L376" + } + ], + "typeParameter": [ + { + "id": 863, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 864, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "intrinsic", + "name": "void" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 865, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 867, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 386, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L386" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 866, + "name": "role", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 385, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L385" + } + ], + "type": { + "type": "reference", + "target": 876, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RolesForContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 867, + 866 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 384, + "character": 19, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L384" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 927, + "name": "useIsAccountDeployed", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 106, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L106" + } + ], + "signatures": [ + { + "id": 928, + "name": "useIsAccountDeployed", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Check if a account has been deployed for the given admin in the account factory contract" + } + ], + "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": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account-factory.ts", + "line": 106, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account-factory.ts#L106" + } + ], + "parameters": [ + { + "id": 929, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 930, + "name": "admin", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 931, + "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": 851, + "name": "useIsAddressRole", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 216, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L216" + } + ], + "signatures": [ + { + "id": 852, + "name": "useIsAddressRole", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to check if an address is a member of a role on a smart contract.\n\nAvailable to use on contracts that implement [" + }, + { + "kind": "code", + "text": "`Permissions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/Permissions) interface\n\nProvide the following arguments to the hook:\n\n1. " + }, + { + "kind": "code", + "text": "`contract`" + }, + { + "kind": "text", + "text": " - The contract instance to check the role on.\n2. " + }, + { + "kind": "code", + "text": "`roleName`" + }, + { + "kind": "text", + "text": " - The name of the role to check.\n3. " + }, + { + "kind": "code", + "text": "`address`" + }, + { + "kind": "text", + "text": " - The wallet address to see if it is a member of the role." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useIsAddressRole, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const isMember = useIsAddressRole(contract, roleName, walletAddress);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " if the address is a member of the role, or " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " if not" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PermissionsEnumerable" + } + ] + }, + { + "tag": "@permissionControl", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 216, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L216" + } + ], + "typeParameter": [ + { + "id": 853, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 854, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 855, + "name": "role", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the role to check. Can be any custom role, or a built-in role, such as:\n- " + }, + { + "kind": "code", + "text": "`\"admin\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"transfer\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"minter\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"pauser\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"lister\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"asset\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"unwrap\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"factory\"`" + } + ] + }, + "type": { + "type": "reference", + "target": 876, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RolesForContract", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 856, + "name": "walletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The wallet address to check if it is a member of the role.\nUse the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get the current wallet address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 494, + "name": "useLazyMint", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 567, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L567" + } + ], + "signatures": [ + { + "id": 495, + "name": "useLazyMint", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for lazy minting a batch of NFTs on a drop contract.\n\nAvailable to use on smart contracts that implement the \"Drop\" extension, and\nfollow either the " + }, + { + "kind": "code", + "text": "`ERC721`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": " standard." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Provide your drop contract (ERC721 or ERC1155) as the argument to the hook, and an array\nof metadata objects to lazy-mint.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useLazyMint, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: lazyMint, isLoading, error } = useLazyMint(contract);\n\n return (\n \n lazyMint({\n // Metadata of the NFTs to upload\n metadatas: [\n {\n name: \"My NFT\",\n description: \"An example NFT\",\n image: \"{{image_url}}\",\n },\n ],\n })\n }\n >\n Lazy Mint NFTs\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to lazy mint a batch of NFTs\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useLazyMint(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an object as argument with below properties:\n\n#### metadatas\nAn array of objects containing the metadata of the NFTs to lazy mint.\n\nYour metadata objects must follow the [Metadata standards](https://docs.opensea.io/docs/metadata-standards#metadata-structure).\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useLazyMint, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: lazyMint, isLoading, error } = useLazyMint(contract);\n\n return (\n \n lazyMint({\n // Metadata of the NFTs to upload\n metadatas: [\n {\n name: \"My NFT\",\n description: \"An example NFT\",\n image: \"{{image_url}}\",\n },\n ],\n })\n }\n >\n Lazy Mint NFTs\n \n );\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable | ERC1155LazyMintable" + } + ] + }, + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 567, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L567" + } + ], + "typeParameter": [ + { + "id": 496, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 497, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + }, + { + "kind": "text", + "text": " with the drop extension" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 498, + "name": "onProgress", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional callback that will be called with the progress of the upload" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 499, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 569, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L569" + } + ], + "signatures": [ + { + "id": 500, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 569, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L569" + } + ], + "parameters": [ + { + "id": 501, + "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": 519, + "name": "useListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 179, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L179" + } + ], + "signatures": [ + { + "id": 520, + "name": "useListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting a specific listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract.\n\n__This hook is only available for " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts__\n\nIf you are using [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3),\nuse " + }, + { + "kind": "code", + "text": "`useDirectListing`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`useEnglishAuction`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useListing } from \"@thirdweb-dev/react\";\n\nconst listingId = 0;\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data, isLoading, error } = useListing(contract, listingId);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query Result object that includes the desired listing.\n\nThe hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an object containing the desired listing data.\n\nThe exact shape of the object depends on the type of listing.\n\nFor auctions, it will be a\n" + }, + { + "kind": "code", + "text": "`AuctionListing`" + }, + { + "kind": "text", + "text": " object.\nFor direct listings, it will be a " + }, + { + "kind": "code", + "text": "`DirectListing`" + }, + { + "kind": "text", + "text": " object.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nAuctionListing | DirectListing | undefined;\n```" + }, + { + "kind": "text", + "text": "\n\nYou can use the shared " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": " property to determine which type of listing is being returned.\n\n" + }, + { + "kind": "code", + "text": "```ts\ninterface AuctionListing {\n // The id of the listing\n id: string;\n\n // The address of the asset being listed.\n assetContractAddress: string;\n\n // The ID of the token to list.\n tokenId: BigNumberish;\n\n // The asset being listed.\n asset: NFTMetadata;\n\n // The start time of the listing.\n startTimeInEpochSeconds: BigNumberish;\n\n // Number of seconds until the auction expires.\n endTimeInEpochSeconds: BigNumberish;\n\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: BigNumberish;\n\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n\n // The reserve price is the minimum price that a bid must be in order to be accepted.\n reservePrice: BigNumber;\n\n // The buyout price of the listing.\n buyoutPrice: BigNumber;\n\n // The `CurrencyValue` of the buyout price listing.\n // Useful for displaying the price information.\n buyoutCurrencyValuePerToken: CurrencyValue;\n\n // The `CurrencyValue` of the reserve price.\n // Useful for displaying the price information.\n reservePriceCurrencyValuePerToken: CurrencyValue;\n\n // The address of the seller.\n sellerAddress: string;\n\n // The type of listing.\n type: ListingType.Auction;\n}\n\ninterface DirectListing {\n // The id of the listing.\n id: string;\n\n // The address of the asset being listed.\n assetContractAddress: string;\n\n // The ID of the token to list.\n tokenId: BigNumberish;\n\n // The asset being listed.\n asset: NFTMetadata;\n\n // The start time of the listing.\n startTimeInSeconds: BigNumberish;\n\n // Number of seconds until the listing expires.\n secondsUntilEnd: BigNumberish;\n\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: BigNumberish;\n\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n buyoutCurrencyValuePerToken: CurrencyValue;\n\n // The buyout price of the listing.\n buyoutPrice: BigNumber;\n\n // The address of the seller.\n sellerAddress: string;\n\n // The type of listing.\n type: ListingType.Direct;\n}\n```" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 179, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L179" + } + ], + "parameters": [ + { + "id": 521, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 522, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The listing id to check" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "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": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 531, + "name": "useListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 526, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L526" + } + ], + "signatures": [ + { + "id": 532, + "name": "useListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting all listings (including expired ones) from a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract.\n\n__This hook is only available for " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts__\n\nIf you are using [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3),\nuse " + }, + { + "kind": "code", + "text": "`useDirectListings`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`useEnglishAuctions`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useListings } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data, isLoading, error } = useListings(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes an array of listings\n\nThe hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an array of listing objects.\n\nThe exact shape of each object depends on the type of listing.\n\nFor auctions, it will be a\n" + }, + { + "kind": "code", + "text": "`AuctionListing`" + }, + { + "kind": "text", + "text": " object.\nFor direct listings, it will be a " + }, + { + "kind": "code", + "text": "`DirectListing`" + }, + { + "kind": "text", + "text": " object.\n\n" + }, + { + "kind": "code", + "text": "```ts\n(AuctionListing | DirectListing)[] | undefined;\n```" + }, + { + "kind": "text", + "text": "\n\nYou can use the shared " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": " property to determine which type of listing is being returned.\n\n" + }, + { + "kind": "code", + "text": "```ts\ninterface AuctionListing {\n\n // The id of the listing\n id: string;\n\n // The address of the asset being listed.\n assetContractAddress: string;\n\n // The ID of the token to list.\n tokenId: BigNumberish;\n\n // The asset being listed.\n asset: NFTMetadata;\n\n // The start time of the listing.\n startTimeInEpochSeconds: BigNumberish;\n\n // Number of seconds until the auction expires.\n endTimeInEpochSeconds: BigNumberish;\n\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: BigNumberish;\n\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n\n // The reserve price is the minimum price that a bid must be in order to be accepted.\n reservePrice: BigNumber;\n\n // The buyout price of the listing.\n buyoutPrice: BigNumber;\n\n // The `CurrencyValue` of the buyout price listing.\n // Useful for displaying the price information.\n buyoutCurrencyValuePerToken: CurrencyValue;\n\n // The `CurrencyValue` of the reserve price.\n // Useful for displaying the price information.\n reservePriceCurrencyValuePerToken: CurrencyValue;\n\n // The address of the seller.\n sellerAddress: string;\n\n // type of listing\n type: ListingType.Auction;\n}\n\ninterface DirectListing {\n\n // The id of the listing.\n id: string;\n\n // The address of the asset being listed.\n assetContractAddress: string;\n\n // The ID of the token to list.\n tokenId: BigNumberish;\n\n // The asset being listed.\n asset: NFTMetadata;\n\n // The start time of the listing.\n startTimeInSeconds: BigNumberish;\n\n // Number of seconds until the listing expires.\n secondsUntilEnd: BigNumberish;\n\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: BigNumberish;\n\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n buyoutCurrencyValuePerToken: CurrencyValue;\n\n // The buyout price of the listing.\n buyoutPrice: BigNumber;\n\n // The address of the seller.\n sellerAddress: string;\n\n // type of listing\n type: ListingType.Direct;\n```" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 526, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L526" + } + ], + "parameters": [ + { + "id": 533, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 534, + "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\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useListings } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data, isLoading, error } = useListings(\n contract,\n {\n count: 100, // number of listings to fetch\n offeror: \"{{offeror_address}}\", // only show listings with offers from this address\n seller: \"{{seller_address}}\", // only show listings where this address is the seller\n start: 0, // start at this listing index (pagination)\n tokenContract: \"{{token_contract_address}}\", // only show listings from this collection\n tokenId: \"{{token_id}}\", // only show listings for this token\n },\n );\n}\n```" + } + ] + }, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "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": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 551, + "name": "useListingsCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1091, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1091" + } + ], + "signatures": [ + { + "id": 552, + "name": "useListingsCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the total number of listings on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract.\n\n__This hook is only available for " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts__\n\nIf you are using [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3),\nuse " + }, + { + "kind": "code", + "text": "`useDirectListingsCount`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`useEnglishAuctionsCount`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useListingsCount } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data: listingsCount, isLoading, error } = useListingsCount(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " containing the total number of listings on the contract." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1091, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1091" + } + ], + "parameters": [ + { + "id": 553, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "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": 961, + "name": "useLogin", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogin.ts", + "line": 62, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogin.ts#L62" + } + ], + "signatures": [ + { + "id": 962, + "name": "useLogin", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to prompt the user to sign in with their wallet using [auth](https://portal.thirdweb.com/wallets/auth)\n\nRequires the " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " prop to be configured on the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useLogin } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { isLoading, login } = useLogin();\n\n return (\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function to invoke to login with the connected wallet, and an " + }, + { + "kind": "code", + "text": "`isLoading`" + }, + { + "kind": "text", + "text": " state that indicates if the login request is in progress\n\n### login\n\nThe " + }, + { + "kind": "code", + "text": "`login`" + }, + { + "kind": "text", + "text": " function accepts an optional " + }, + { + "kind": "code", + "text": "`LoginOptions`" + }, + { + "kind": "text", + "text": " object as an argument.\n\nThis configuration follows the [EIP-4361](https://eips.ethereum.org/EIPS/eip-4361) Sign in with Ethereum standard.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useLogin, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { login, isLoading } = useLogin();\n\n const loginOptions = {\n domain: \"https://your-domain.com\", // Your dapp domain\n statement: \"My statement\", // Text that the user will sign\n uri: \"https://your-domain.com/login\", // RFC 3986 URI referring to the resource that is the subject of the signing\n version: \"1.0\", // The current version of the message, which MUST be 1 for this specification.\n chainId: \"mainnet\", // Chain ID to which the session is bound\n nonce: \"my-nonce\", // randomized token typically used to prevent replay attacks\n expirationTime: new Date(2021, 1, 1), // When this message expires\n invalidBefore: new Date(2020, 12, 1), // When this message becomes valid\n resources: [\"balance\", \"history\", \"info\"], // A list of information or references to information the user wishes to have resolved\n };\n\n return login(loginOptions)}>Login;\n}\n```" + } + ] + }, + { + "tag": "@auth", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogin.ts", + "line": 62, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogin.ts#L62" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 963, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 967, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogin.ts", + "line": 131, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogin.ts#L131" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "login.isLoading" + }, + { + "id": 964, + "name": "login", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogin.ts", + "line": 130, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogin.ts#L130" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 965, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogin.ts", + "line": 130, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogin.ts#L130" + } + ], + "signatures": [ + { + "id": 966, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogin.ts", + "line": 130, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogin.ts#L130" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 967, + 964 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogin.ts", + "line": 129, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogin.ts#L129" + } + ] + } + } + } + ] + }, + { + "id": 968, + "name": "useLogout", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogout.ts", + "line": 29, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogout.ts#L29" + } + ], + "signatures": [ + { + "id": 969, + "name": "useLogout", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for signing out of a wallet after a user has logged in using " + }, + { + "kind": "code", + "text": "`useLogin`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useLogout } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { logout, isLoading } = useLogout();\n\n return (\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "object containing a " + }, + { + "kind": "code", + "text": "`logout`" + }, + { + "kind": "text", + "text": " function and an " + }, + { + "kind": "code", + "text": "`isLoading`" + }, + { + "kind": "text", + "text": " state that indicates if the logout request is in progress" + } + ] + }, + { + "tag": "@auth", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogout.ts", + "line": 29, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogout.ts#L29" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 970, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 972, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogout.ts", + "line": 54, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogout.ts#L54" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "logout.isLoading" + }, + { + "id": 971, + "name": "logout", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogout.ts", + "line": 54, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogout.ts#L54" + } + ], + "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": "UseMutateAsyncFunction" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutateAsyncFunction", + "package": "@tanstack/react-query" + }, + "defaultValue": "logout.mutateAsync" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 972, + 971 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useLogout.ts", + "line": 54, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useLogout.ts#L54" + } + ] + } + } + } + ] + }, + { + "id": 616, + "name": "useMakeBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2533, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2533" + } + ], + "signatures": [ + { + "id": 617, + "name": "useMakeBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for placing a bid on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " auction listing.\n\nBids have several important properties:\n\n- Cannot be canceled once placed.\n- Are automatically refunded if they are outbid.\n- Must be higher than the current highest bid by the percentage defined in the bid buffer.\n- Must be higher than the reserve price (if there is no bid yet)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useMakeBid, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { mutateAsync: makeBid, isLoading, error } = useMakeBid(contract);\n\n return (\n \n makeBid({\n listingId: \"1\", // ID of the listing to bid on. Must be an auction.\n bid: \"1\", // Uses the currencyContractAddress of the listing.\n })\n }\n >\n Make Bid\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to make a bid on an auction listing\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useMakeBid(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as an argument with the following properties:\n\n#### listingId\nThe ID of the listing to bid on. Must be an auction type listing.\n(Use " + }, + { + "kind": "code", + "text": "`useMakeOffer`" + }, + { + "kind": "text", + "text": " for direct listings).\n\nIf the listing cannot be found, is not an auction, or is not active, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set.\n\n#### bid\nThe amount to bid on the listing. Uses the " + }, + { + "kind": "code", + "text": "`currencyContractAddress`" + }, + { + "kind": "text", + "text": " of the listing.\n\nFor example, if the listing uses the " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": " on Ethereum, the bid amount is the amount of ETH to bid. Can be\nin the form of a number, string, or BigNumber.\n\nThe bid value **must** be either:\n\n- Greater than or equal to the reserve price if there is no current bid.\n- Greater than the current highest bid by the percentage defined in the bid buffer.\n\nUse the " + }, + { + "kind": "code", + "text": "`useNextMinimumBid`" + }, + { + "kind": "text", + "text": " hook to get the next minimum bid amount required." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2533, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2533" + } + ], + "parameters": [ + { + "id": 618, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 619, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/internal/marketplace/marketplace-auction.d.ts", + "line": 160, + "character": 80 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1179, + "name": "MakeBidParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 620, + "name": "useMakeOffer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2622, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2622" + } + ], + "signatures": [ + { + "id": 621, + "name": "useMakeOffer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for placing an offer on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " direct listing." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useMakeOffer, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { mutateAsync: makeOffer, isLoading, error } = useMakeOffer(contract);\n\n return (\n \n makeOffer({\n listingId: 1, // ID of the listing to make an offer on\n pricePerToken: 1, // Price per token to offer (in the listing's currency)\n quantity: 1, // Number of NFTs you want to buy (used for ERC1155 NFTs)\n })\n }\n >\n Make Bid\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to make a bid on an auction listing\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useMakeOffer(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as an argument with the following properties:\n\n#### listingId (required)\nThe ID of the listing to make an offer on.\n\nIf the listing cannot be found, is not a direct listing, or is not active, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set.\n\n#### pricePerToken (required)\nThe price to offer per token.\n\n- For ERC1155, this is the price to offer per quantity of the NFT (see [" + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": "](#quantity) below).\n- For ERC721, this is the price to offer to buy the NFT.\n\n#### quantity (optional)\nUsed for ERC1155 NFTs, where multiple quantity of the same NFT can be bought at once.\n\nThis field works with the " + }, + { + "kind": "code", + "text": "`pricePerToken`" + }, + { + "kind": "text", + "text": " field to calculate the total price of the offer.\nFor example, if you want to buy 5 NFTs at a price of 1 ETH each, you would set " + }, + { + "kind": "code", + "text": "`pricePerToken`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`5`" + }, + { + "kind": "text", + "text": ", for a total of " + }, + { + "kind": "code", + "text": "`5`" + }, + { + "kind": "text", + "text": " ETH as the offer.\n\nFor ERC721 NFTs, this value is ignored and " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " is used instead.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 2622, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L2622" + } + ], + "parameters": [ + { + "id": 622, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/contracts/prebuilt-implementations/marketplace.d.ts", + "line": 300, + "character": 117 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1183, + "name": "MakeOfferParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 359, + "name": "useMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 506, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L506" + } + ], + "signatures": [ + { + "id": 360, + "name": "useMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the metadata associated with a smart contract.\n\nAvailable to use on contracts that implement the [Contract Metadata](https://portal.thirdweb.com/contracts/build/extensions/general/ContractMetadata) interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useMetadata } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useMetadata(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A " + }, + { + "kind": "code", + "text": "`CustomContractMetadata`" + }, + { + "kind": "text", + "text": " object containing the metadata\n\nThe hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an object containing the contract's metadata.\n\n" + }, + { + "kind": "code", + "text": "```ts\nCustomContractMetadata | undefined;\n```" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```ts\ninterface CustomContractMetadata {\n // The name of the contract.\n name: string;\n // A description of the contract.\n description?: string;\n // The image associated with the contract.\n image?: any;\n // An external link associated with the contract.\n external_link?: string;\n}\n```" + } + ] + }, + { + "tag": "@metadata", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 506, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L506" + } + ], + "parameters": [ + { + "id": 361, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 580, + "name": "useMinimumNextBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1677, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1677" + } + ], + "signatures": [ + { + "id": 581, + "name": "useMinimumNextBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the minimum value a bid must be to be valid\nin an auction listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " or\n[MarketplaceV3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\nTakes into account the current highest bid, or the reserve price if there is no bid,\nand increments it by the bid buffer to calculate the minimum next bid." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useMinimumNextBid } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data, isLoading, error } = useMinimumNextBid(contract, listingId);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the minimum next bid for the auction listing" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuction" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1677, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1677" + } + ], + "parameters": [ + { + "id": 582, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 583, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the listing to get the minimum next bid for.\n\nIf the listing cannot be found, is not an auction listing, or is not active, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "reflection", + "declaration": { + "id": 584, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 588, + "name": "decimals", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1685, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1685" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 589, + "name": "displayValue", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1686, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1686" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 587, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1684, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1684" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 585, + "name": "symbol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1682, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1682" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 586, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1683, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1683" + } + ], + "type": { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 588, + 589, + 587, + 585, + 586 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1681, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1681" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 808, + "name": "useMintNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 586, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L586" + } + ], + "signatures": [ + { + "id": 809, + "name": "useMintNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for minting a new NFT on a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`ERC721`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721)\nor [" + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) standard.\n\nBy default, the process uploads and pins the NFT metadata to IPFS before minting." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useMintNFT, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: mintNft, isLoading, error } = useMintNFT(contract);\n\n return (\n \n mintNft({\n metadata: {\n name: \"My NFT\",\n description: \"This is my NFT\",\n image: \"ipfs://example.com/my-nft.png\", // Accepts any URL or File type\n },\n to: \"{{wallet_address}}\", // Use useAddress hook to get current wallet address\n })\n }\n >\n Mint NFT\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object that to mint a new NFT token to the connected wallet\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useMintNFT(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object with the following properties:\n\n#### metadata\nThe metadata of the NFT to mint.\n\nBy default, the " + }, + { + "kind": "code", + "text": "`metadata`" + }, + { + "kind": "text", + "text": " object is uploaded and pinned to IPFS before minting.\n\nYou can override this behavior by providing a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " to the metadata property. The string must be a URL that points to a valid JSON object containing [standard metadata properties](https://docs.opensea.io/docs/metadata-standards)\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useMintNFT, useContract, Web3Button } from \"@thirdweb-dev/react\";\n\n// Your smart contract address\nconst contractAddress = \"{{contract_address}}\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { mutateAsync: mintNft, isLoading, error } = useMintNFT(contract);\n\n return (\n \n mintNft({\n // Any valid IPFS or HTTP URL that points to a JSON object\n metadata: \"https://///.json\",\n to: \"{{wallet_address}}\",\n })\n }\n >\n Mint NFT\n \n );\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### to (required)\nThe wallet address to mint the NFT to.\n\nLikely, you will want to mint the NFT to the currently connected wallet address.\nUse the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get this value." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Mintable | ERC1155Mintable" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 586, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L586" + } + ], + "typeParameter": [ + { + "id": 810, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 811, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 1155, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "MintNFTReturnType", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1150, + "name": "MintNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 812, + "name": "useMintNFTSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 704, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L704" + } + ], + "signatures": [ + { + "id": 813, + "name": "useMintNFTSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for minting additional supply to an _existing_ ERC-1155 token.\n\nAvailable to use on contracts that implement the\n[ERC1155Mintable](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155Mintable)\ninterface, such as the [Edition](https://thirdweb.com/thirdweb.eth/TokenERC1155) or [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155).\n\nThe wallet address that initiates this transaction must have minting permissions on the contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useMintNFTSupply, Web3Button } from \"@thirdweb-dev/react\";\n\nconst contractAddress = \"{{contract_address}}\";\nconst walletAddress = \"{{wallet_address}}\";\nconst tokenId = \"{{token_id}}\";\nconst additionalSupply = \"{{additional_supply}}\";\n\nfunction App() {\n // Contract must be an ERC-1155 contract that implements the ERC1155Mintable interface\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: mintNftSupply,\n isLoading,\n error,\n } = useMintNFTSupply(contract);\n\n return (\n \n mintNftSupply({\n additionalSupply: additionalSupply, // Quantity to mint\n to: walletAddress, // Address to mint to\n tokenId: tokenId, // Token ID to add supply to\n })\n }\n >\n Mint NFT Supply\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to mint a more supply of a token id to the provided wallet\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useMintNFTSupply(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an object with the following properties:\n\n#### additionalSupply\nThe quantity of additional supply to mint.\n\nFor example, if you have 10 quantity so far, and you want to mint 5 more, set " + }, + { + "kind": "code", + "text": "`additionalSupply`" + }, + { + "kind": "text", + "text": " to " + }, + { + "kind": "code", + "text": "`5`" + }, + { + "kind": "text", + "text": ".\n\nCan be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": ".\n\n\n#### to\nThe wallet address to mint the new supply to.\n\nTo use the connected wallet address, use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook.\n\n\n#### tokenId\nThe token ID of the NFT to mint additional supply to.\n\nCan be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC1155Mintable" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 704, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L704" + } + ], + "parameters": [ + { + "id": 814, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`Erc1155`" + } + ] + }, + "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/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithId" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFT" + }, + "name": "NFT", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "TransactionResultWithId", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1145, + "name": "MintNFTSupplyParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 901, + "name": "useMintToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 247, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L247" + } + ], + "signatures": [ + { + "id": 902, + "name": "useMintToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for minting new tokens in an ERC20 smart contract.\n\nAvailable to use on contracts that implement the [ERC20Mintable](https://portal.thirdweb.com/contracts/build/extensions/erc-20/ERC20BatchMintable)\ninterface, such as the [Token](https://thirdweb.com/thirdweb.eth/TokenERC20) contract.\n\nThe wallet address that initiates this transaction must have minting permissions on the contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useMintToken, Web3Button } from \"@thirdweb-dev/react\";\n\nconst contractAddress = \"{{contract_address}}\";\nconst walletAddress = \"{{wallet_address}}\";\nconst tokenAmount = \"{{token_amount}}\";\n\nfunction App() {\n // Contract must be an ERC-20 contract that implements the ERC20Mintable interface\n const { contract } = useContract(contractAddress, \"token\");\n const { mutateAsync: mintToken, isLoading, error } = useMintToken(contract);\n\n return (\n \n mintToken({\n amount: tokenAmount, // Quantity to mint\n to: walletAddress, // Address to mint to\n })\n }\n >\n Mint Token\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to mint new tokens to the connected wallet\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useMintToken(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as an argument with the following properties:\n\n#### amount\nThe quantity of tokens to mint. Can be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": ".\n\n#### to\nThe wallet address to mint the new tokens to.\n\nTo use the connected wallet address, use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20Mintable" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 247, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L247" + } + ], + "parameters": [ + { + "id": 903, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 904, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 906, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 253, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L253" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 907, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 253, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L253" + } + ], + "signatures": [ + { + "id": 908, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 905, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 252, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L252" + } + ], + "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": [ + 906, + 905 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 251, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L251" + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1126, + "name": "TokenParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 777, + "name": "useNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 94, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L94" + } + ], + "signatures": [ + { + "id": 778, + "name": "useNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching information about an NFT from a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`ERC721`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721)\nor [" + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) standard.\n\nNFT metadata is automatically fetched from where the " + }, + { + "kind": "code", + "text": "`tokenUri`" + }, + { + "kind": "text", + "text": " is hosted (e.g. IPFS), and makes the " + }, + { + "kind": "code", + "text": "`image`" + }, + { + "kind": "text", + "text": "\nproperty available as a URL through our IPFS gateway (if the image is hosted on IPFS)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Provide your NFT collection contract object and the token ID of the NFT you want to fetch as\narguments.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useNFT } from \"@thirdweb-dev/react\";\n\n// The token ID of the NFT you want to fetch\nconst tokenId = 0;\n\nfunction App() {\n const { contract } = useContract(\"{{contract_address}}\");\n const { data: nft, isLoading, error } = useNFT(contract, tokenId);\n\n if (isLoading) return
Fetching NFT…
;\n if (error) return
Error fetching NFT
;\n if (!nft) return
NFT not found
;\n return
NFT: {nft.metadata.name}
;\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the metadata for the given tokenId in " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721 | ERC1155" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 94, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L94" + } + ], + "typeParameter": [ + { + "id": 779, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 780, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 781, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The token ID of the NFT you want to fetch.\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useNFT } from \"@thirdweb-dev/react\";\n\n// The token ID of the NFT you want to fetch\nconst tokenId = 0;\n\nfunction App() {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n data: nft,\n isLoading,\n error,\n } = useNFT(\n contract,\n tokenId,\n );\n}\n```" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 803, + "name": "useNFTBalance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 416, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L416" + } + ], + "signatures": [ + { + "id": 804, + "name": "useNFTBalance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the quantity a user owns of a specific [ERC1155](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) NFT.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) standard." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useNFTBalance, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { isLoading, data, error } = useNFTBalance(\n contract,\n \"{{wallet_address}}\",\n \"{{token_id}}\",\n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, returns a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " representing the quantity of the NFT owned by the wallet." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721 | ERC1155" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 416, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L416" + } + ], + "parameters": [ + { + "id": 805, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 806, + "name": "ownerWalletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The wallet address to check the balance of. Use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get the current wallet address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 807, + "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 782, + "name": "useNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 156, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L156" + } + ], + "signatures": [ + { + "id": 783, + "name": "useNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to query all NFTs associated with a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`ERC721`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721)\nor [" + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) standard.\n\nNFT metadata is automatically fetched from where the " + }, + { + "kind": "code", + "text": "`tokenUri`" + }, + { + "kind": "text", + "text": " is hosted (e.g. IPFS), and makes the " + }, + { + "kind": "code", + "text": "`image`" + }, + { + "kind": "text", + "text": "\nproperty available as a URL through our IPFS gateway (if the image is hosted on IPFS).\n\nBy default, only returns the first " + }, + { + "kind": "code", + "text": "`100`" + }, + { + "kind": "text", + "text": " NFTs in the collection. You can use the " + }, + { + "kind": "code", + "text": "`queryParams`" + }, + { + "kind": "text", + "text": " argument to\nfilter the NFTs that are returned or to paginate through the collection." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useNFTs, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useNFTs(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes an array of " + }, + { + "kind": "code", + "text": "`NFT`" + }, + { + "kind": "text", + "text": " objects" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Supply | ERC721Enumerable | ERC1155Enumerable" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 156, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L156" + } + ], + "typeParameter": [ + { + "id": 784, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 785, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 786, + "name": "queryParams", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "By default, the hook will return the first 100 NFTs associated with the contract.\n\nYou can use the " + }, + { + "kind": "code", + "text": "`queryParams`" + }, + { + "kind": "text", + "text": " argument to paginate the NFTs that are returned." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 787, + "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": 1034, + "name": "useNetworkMismatch", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useNetworkMismatch.ts", + "line": 25, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useNetworkMismatch.ts#L25" + } + ], + "signatures": [ + { + "id": 1035, + "name": "useNetworkMismatch", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for checking whether the connected wallet is currently on the correct chain,\ni.e. the chain specified in the " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " on the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useNetworkMismatch } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n const isMismatched = useNetworkMismatch();\n};\n```" + }, + { + "kind": "text", + "text": "\n\nUsing this value, you can prompt users to switch their network using the " + }, + { + "kind": "code", + "text": "`useSwitchChain`" + }, + { + "kind": "text", + "text": " hook." + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Returns " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " if the " + }, + { + "kind": "code", + "text": "`chainId`" + }, + { + "kind": "text", + "text": " of the connected wallet is different from the " + }, + { + "kind": "code", + "text": "`chainId`" + }, + { + "kind": "text", + "text": " of the " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " on the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " component" + } + ] + }, + { + "tag": "@networkConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useNetworkMismatch.ts", + "line": 25, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useNetworkMismatch.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 632, + "name": "useOffers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1769, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1769" + } + ], + "signatures": [ + { + "id": 633, + "name": "useOffers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting all of the offers made on a\ndirect listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useOffers, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data: offers, isLoading, error } = useOffers(contract, listingId);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "This hook uses the " + }, + { + "kind": "code", + "text": "`useEvents`" + }, + { + "kind": "text", + "text": " hook under the hood to fetch " + }, + { + "kind": "code", + "text": "`NewOffer`" + }, + { + "kind": "text", + "text": " events for the given listing ID.\n\nThe return value is an array of " + }, + { + "kind": "code", + "text": "`NewOffer`" + }, + { + "kind": "text", + "text": " event objects. Each event object has the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n offeror: string;\n offerId: BigNumber;\n assetContract: string;\n offer: {\n offerId: BigNumber;\n offeror: string;\n assetContract: string;\n tokenId: BigNumber;\n quantity: BigNumber;\n currency: string;\n totalPrice: BigNumber;\n expirationTimestamp: BigNumber;\n tokenType: \"ERC721\" | \"ERC1155\";\n status: \"UNSET\" | \"CREATED\" | \"COMPLETED\" | \"CANCELLED\";\n }\n}\n```" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1769, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1769" + } + ], + "parameters": [ + { + "id": 634, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 635, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The id of the listing to fetch offers for\nIf the listing cannot be found, is not a direct listing, or is not active, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 636, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 637, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1776, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1776" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 645, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 228, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 638, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 275, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 649, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 233, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 646, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 230, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 647, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 231, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 648, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 232, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 667, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 251, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "FetchStatus" + }, + "name": "FetchStatus", + "package": "@tanstack/query-core" + } + }, + { + "id": 639, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 276, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 650, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 235, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 651, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 236, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 652, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 237, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 653, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 240, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 640, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 277, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 641, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 278, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 654, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 241, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 655, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 242, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 656, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 243, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 642, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 279, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 657, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 245, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 658, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 246, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 643, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 280, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 659, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "signatures": [ + { + "id": 661, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "typeParameter": [ + { + "id": 662, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 663, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchOptions" + }, + "name": "RefetchOptions", + "package": "@tanstack/query-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchQueryFilters" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TPageData", + "refersToTypeParameter": true + } + ], + "name": "RefetchQueryFilters", + "package": "@tanstack/query-core" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverResult" + }, + "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.2.2/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": "QueryObserverResult", + "package": "@tanstack/query-core" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 664, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 665, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "signatures": [ + { + "id": 666, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 644, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 281, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "error" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 637, + 645, + 638, + 649, + 646, + 647, + 648, + 667, + 639, + 650, + 651, + 652, + 653, + 640, + 641, + 654, + 655, + 656, + 642, + 657, + 658, + 643, + 659, + 664, + 644 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1774, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1774" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1776, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1776" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 677, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 228, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 670, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 285, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 681, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 233, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 678, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 230, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 679, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 231, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 680, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 232, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 699, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 251, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "FetchStatus" + }, + "name": "FetchStatus", + "package": "@tanstack/query-core" + } + }, + { + "id": 671, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 286, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 682, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 235, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 683, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 236, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 684, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 237, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 685, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 240, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 672, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 287, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 673, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 288, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 686, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 241, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 687, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 242, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 688, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 243, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 674, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 289, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 689, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 245, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 690, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 246, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 675, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 290, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 691, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 692, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "signatures": [ + { + "id": 693, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "typeParameter": [ + { + "id": 694, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 695, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchOptions" + }, + "name": "RefetchOptions", + "package": "@tanstack/query-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchQueryFilters" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TPageData", + "refersToTypeParameter": true + } + ], + "name": "RefetchQueryFilters", + "package": "@tanstack/query-core" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverResult" + }, + "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.2.2/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": "QueryObserverResult", + "package": "@tanstack/query-core" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 696, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 697, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "signatures": [ + { + "id": 698, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 676, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 291, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "success" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 669, + 677, + 670, + 681, + 678, + 679, + 680, + 699, + 671, + 682, + 683, + 684, + 685, + 672, + 673, + 686, + 687, + 688, + 674, + 689, + 690, + 675, + 691, + 696, + 676 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1774, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1774" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 700, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 701, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1776, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1776" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 709, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 228, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 702, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 265, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 713, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 233, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 710, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 230, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 711, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 231, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 712, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 232, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 731, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 251, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "FetchStatus" + }, + "name": "FetchStatus", + "package": "@tanstack/query-core" + } + }, + { + "id": 703, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 266, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 714, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 235, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 715, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 236, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 716, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 237, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 717, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 240, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 704, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 267, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 705, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 268, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 718, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 241, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 719, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 242, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 720, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 243, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 706, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 269, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 721, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 245, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 722, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 246, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 707, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 270, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 723, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 724, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "signatures": [ + { + "id": 725, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "typeParameter": [ + { + "id": 726, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 727, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchOptions" + }, + "name": "RefetchOptions", + "package": "@tanstack/query-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchQueryFilters" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TPageData", + "refersToTypeParameter": true + } + ], + "name": "RefetchQueryFilters", + "package": "@tanstack/query-core" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverResult" + }, + "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.2.2/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": "QueryObserverResult", + "package": "@tanstack/query-core" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 728, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 729, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "signatures": [ + { + "id": 730, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 708, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 271, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "error" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 701, + 709, + 702, + 713, + 710, + 711, + 712, + 731, + 703, + 714, + 715, + 716, + 717, + 704, + 705, + 718, + 719, + 720, + 706, + 721, + 722, + 707, + 723, + 728, + 708 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1774, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1774" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 733, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1776, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1776" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 741, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 228, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 734, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 255, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 745, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 233, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 742, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 230, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 743, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 231, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 744, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 232, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 763, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 251, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "FetchStatus" + }, + "name": "FetchStatus", + "package": "@tanstack/query-core" + } + }, + { + "id": 735, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 256, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 746, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 235, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 747, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 236, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 748, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 237, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 749, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 240, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 736, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 257, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 737, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 258, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 750, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 241, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 751, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 242, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 752, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 243, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 738, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 259, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 753, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 245, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 754, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 246, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 739, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 260, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 755, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 756, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "signatures": [ + { + "id": 757, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 248, + "character": 13 + } + ], + "typeParameter": [ + { + "id": 758, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 759, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchOptions" + }, + "name": "RefetchOptions", + "package": "@tanstack/query-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "RefetchQueryFilters" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TPageData", + "refersToTypeParameter": true + } + ], + "name": "RefetchQueryFilters", + "package": "@tanstack/query-core" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverResult" + }, + "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.2.2/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": "QueryObserverResult", + "package": "@tanstack/query-core" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 760, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 761, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "signatures": [ + { + "id": 762, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 249, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 740, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/build/lib/types.d.ts", + "line": 261, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "loading" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 733, + 741, + 734, + 745, + 742, + 743, + 744, + 763, + 735, + 746, + 747, + 748, + 749, + 736, + 737, + 750, + 751, + 752, + 738, + 753, + 754, + 739, + 755, + 760, + 740 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1774, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1774" + } + ] + } + } + ] + } + } + ] + }, + { + "id": 796, + "name": "useOwnedNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 363, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L363" + } + ], + "signatures": [ + { + "id": 797, + "name": "useOwnedNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for accessing a list of NFTs owned by a single wallet address.\n\nAvailable to use on smart contracts that implement either ERC721Enumerable, ERC1155Enumerable, or ERC721Supply extensions." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useOwnedNFTs, useContract, useAddress } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const address = useAddress();\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useOwnedNFTs(contract, address);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the list of owned " + }, + { + "kind": "code", + "text": "`NFT`" + }, + { + "kind": "text", + "text": " objects" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Enumerable | ERC1155Enumerable | ERC721Supply" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 363, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L363" + } + ], + "typeParameter": [ + { + "id": 798, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 799, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 800, + "name": "ownerWalletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The wallet address to get owned tokens for. Likely, you will want to view the connected wallet’s NFTs. use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get this value." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 801, + "name": "queryParams", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Paginate the results by providing a " + }, + { + "kind": "code", + "text": "`queryParams`" + }, + { + "kind": "text", + "text": " object as an argument.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useOwnedNFTs, useContract, useAddress } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const address = useAddress();\n const { data, isLoading, error } = useOwnedNFTs(\n contract,\n address\n {\n count: 10, // Limit the number of results\n start: 0, // Start from the nth result (useful for pagination)\n },\n );\n}\n```" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 802, + "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": 102, + "name": "usePersonalWalletAddress", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/usePersonalWalletAddress.ts", + "line": 10, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/usePersonalWalletAddress.ts#L10" + } + ], + "signatures": [ + { + "id": 103, + "name": "usePersonalWalletAddress", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the address of the personal wallet connected to the current wallet connection.\n\nThis is only relevant if the current connected wallet uses a personal wallet - For Example - Smart Wallet and Safe." + } + ], + "blockTags": [ + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/usePersonalWalletAddress.ts", + "line": 10, + "character": 40, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/usePersonalWalletAddress.ts#L10" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ] + }, + { + "id": 346, + "name": "usePlatformFees", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 346, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L346" + } + ], + "signatures": [ + { + "id": 347, + "name": "usePlatformFees", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the platform fee settings of a contract.\n\nAvailable to use on contracts that implement the [" + }, + { + "kind": "code", + "text": "`PlatformFee`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/PlatformFee) interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, usePlatformFees } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = usePlatformFees(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an object containing two fields:\n\n- " + }, + { + "kind": "code", + "text": "`platform_fee_basis_points`" + }, + { + "kind": "text", + "text": ": the platform fee basis points set on the contract\n- " + }, + { + "kind": "code", + "text": "`platform_fee_recipient`" + }, + { + "kind": "text", + "text": ": the wallet address of the platform fee recipient\n\n_Note_: The basis points are in percentage format, meaning that a value of " + }, + { + "kind": "code", + "text": "`500`" + }, + { + "kind": "text", + "text": " is equivalent to a " + }, + { + "kind": "code", + "text": "`5%`" + }, + { + "kind": "text", + "text": " fee.\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n platform_fee_basis_points: number;\n platform_fee_recipient: string;\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PlatformFee" + } + ] + }, + { + "tag": "@platformFees", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 346, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L346" + } + ], + "parameters": [ + { + "id": 348, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 349, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 350, + "name": "platform_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 350, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L350" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 351, + "name": "platform_fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 351, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L351" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 350, + 351 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 349, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L349" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 325, + "name": "usePrimarySaleRecipient", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 49, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L49" + } + ], + "signatures": [ + { + "id": 326, + "name": "usePrimarySaleRecipient", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the primary sales recipient of a smart contract.\n\nAvailable to use on contracts that implement the [" + }, + { + "kind": "code", + "text": "`PrimarySale`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/PrimarySale) interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, usePrimarySaleRecipient } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = usePrimarySaleRecipient(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " with the wallet address of the primary sales recipient." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PrimarySale" + } + ] + }, + { + "tag": "@platformFees", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 49, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L49" + } + ], + "parameters": [ + { + "id": 327, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 947, + "name": "useRemoveAdmin", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 323, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L323" + } + ], + "signatures": [ + { + "id": 948, + "name": "useRemoveAdmin", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Remove an admin on the smart wallet account. This action has to be performed by an admin on the account.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useRemoveAdmin } from \"@thirdweb-dev/react\";\n\nconst adminAddress = \"{{admin_address}}\";\n\nconst Component = () => {\n const { mutate: removeAdmin, isLoading, error } = useRemoveAdmin();\n\n if (error) {\n console.error(\"failed to remove admin\", error);\n }\n\n return (\n \n );\n};\n```" + } + ], + "blockTags": [ + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "mutation object to remove given address as an admin" + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 323, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L323" + } + ], + "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": 320, + "name": "useResetClaimConditions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 915, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L915" + } + ], + "signatures": [ + { + "id": 321, + "name": "useResetClaimConditions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for resetting the claim conditions on a drop contract.\n\nAvailable to use on contracts that implement\n[" + }, + { + "kind": "code", + "text": "`ERC721ClaimableWithConditions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721ClaimConditions),\n[" + }, + { + "kind": "code", + "text": "`ERC1155ClaimableWithConditions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155ClaimConditions) or\n[" + }, + { + "kind": "code", + "text": "`ERC20ClaimableWithConditions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-20/ERC20ClaimConditions)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useContract,\n useResetClaimConditions,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n // Contract must be a drop contract that implements claim conditions\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: resetClaimConditions,\n isLoading,\n error,\n } = useResetClaimConditions(contract);\n\n return (\n resetClaimConditions()}\n >\n Reset Claim Conditions\n \n );\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 915, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L915" + } + ], + "parameters": [ + { + "id": 322, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`DropContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 323, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "For ERC1155 NFTs, provide the token ID of the NFT as the second argument to the hook." + } + ] + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 324, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/drop-erc1155-claim-conditions.d.ts", + "line": 131, + "character": 62 + } + ] + } + }, + { + "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": 510, + "name": "useRevealLazyMint", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 777, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L777" + } + ], + "signatures": [ + { + "id": 511, + "name": "useRevealLazyMint", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for revealing a batch of delayed reveal NFTs using [delayed reveal](https://portal.thirdweb.com/glossary/delayed-reveal).\n\nAvailable to use on contracts that implement the\n[ERC721Revealable](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721Revealable)\nor [ERC1155Revealable](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155Revealable)\ninterfaces.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useRevealLazyMint } from \"@thirdweb-dev/react\";\n\nconst { mutateAsync, isLoading, error } = useRevealLazyMint(contract);\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport {\n useContract,\n useRevealLazyMint,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n // Contract must be an ERC-721 or ERC-1155 contract that implements the ERC721Revealable or ERC1155Revealable interface\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: revealLazyMint,\n isLoading,\n error,\n } = useRevealLazyMint(contract);\n\n return (\n \n revealLazyMint({\n batchId: \"{{batch_id}}\", // ID of the batch to reveal (use useBatchesToReveal to get the batch IDs)\n password: \"{{password}}\", // Password to reveal the batch\n })\n }\n >\n Reveal Lazy Mint\n \n );\n}\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Revealable | ERC1155Revealable" + } + ] + }, + { + "tag": "@delayedReveal", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 777, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L777" + } + ], + "typeParameter": [ + { + "id": 512, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1162, + "name": "RevealableContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 513, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`RevealableContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 514, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 516, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 783, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L783" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 517, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 783, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L783" + } + ], + "signatures": [ + { + "id": 518, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 515, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 782, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L782" + } + ], + "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": [ + 516, + 515 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 781, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L781" + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1168, + "name": "RevealLazyMintInput", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 868, + "name": "useRevokeRole", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 464, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L464" + } + ], + "signatures": [ + { + "id": 869, + "name": "useRevokeRole", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for revoking a wallet address from a role on a smart contract.\n\nAvailable to use on contracts that implement [" + }, + { + "kind": "code", + "text": "`Permissions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/Permissions) interface\n\nThe wallet address that initiates this transaction must have the relevant permissions on the contract to remove the role from the wallet address (typically " + }, + { + "kind": "code", + "text": "`\"admin\"`" + }, + { + "kind": "text", + "text": " level required).\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useRevokeRole, Web3Button } from \"@thirdweb-dev/react\";\n\n// Your smart contract address (must implement permission controls)\nconst contractAddress = \"{{contract_address}}\";\nconst walletAddress = \"{{wallet_address}}\";\n\nfunction App() {\n // Contract must be a contract that implements the Permission Controls interface\n const { contract } = useContract(contractAddress);\n const { mutateAsync: revokeRole, isLoading, error } = useRevokeRole(contract);\n\n return (\n \n revokeRole({\n role: \"admin\",\n address: walletAddress,\n })\n }\n >\n Revoke Role\n \n );\n}\n```" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to revoke a role from a member on the contract\n#### role (required)\n\nThe role to revoke from the wallet address.\n\nCan be any custom role, or a built-in role, such as:\n- " + }, + { + "kind": "code", + "text": "`\"admin\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"transfer\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"minter\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"pauser\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"lister\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"asset\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"unwrap\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"factory\"`" + }, + { + "kind": "text", + "text": "\n\n#### address\n\nThe wallet address to revoke the role from.\n\nTo use the connected wallet address, use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions | PermissionsEnumerable" + } + ] + }, + { + "tag": "@permissionControl", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 464, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L464" + } + ], + "typeParameter": [ + { + "id": 870, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 871, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "intrinsic", + "name": "void" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 872, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 874, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 473, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L473" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, + "name": "role", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 472, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L472" + } + ], + "type": { + "type": "reference", + "target": 876, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RolesForContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 874, + 873 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 471, + "character": 19, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L471" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 951, + "name": "useRevokeSessionKey", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 243, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L243" + } + ], + "signatures": [ + { + "id": 952, + "name": "useRevokeSessionKey", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Revoke a session key (or signer) on the smart wallet account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useRevokeSessionKey } from \"@thirdweb-dev/react\";\n\n// Your ERC20 token smart contract address\nconst keyAddress = \"{{key_address}}\";\n\nconst Component = () => {\n const { mutate: revokeSessionKey, isLoading, error } = useRevokeSessionKey();\n\n if (error) {\n console.error(\"failed to revoke session key\", error);\n }\n\n return (\n \n );\n};\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to revoke a session key (or signer) on the smart wallet\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useRevokeSessionKey();\n```" + }, + { + "kind": "text", + "text": "\n\nThe mutation function takes an address of type " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " to remove as an admin." + } + ] + }, + { + "tag": "@smartWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/account.ts", + "line": 243, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/account.ts#L243" + } + ], + "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": 846, + "name": "useRoleMembers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 155, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L155" + } + ], + "signatures": [ + { + "id": 847, + "name": "useRoleMembers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting all wallet addresses that have a specific role in a smart contract.\n\nAvailable to use on contracts that implement the [" + }, + { + "kind": "code", + "text": "`Permissions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/Permissions) interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useRoleMembers } from \"@thirdweb-dev/react\";\n\n// Your smart contract address (must implement permission controls)\nconst contractAddress = \"{{contract_address}}\";\n\nconst roleName = \"admin\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useRoleMembers(contract, roleName);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an array of wallet addresses that have the specified role" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions" + } + ] + }, + { + "tag": "@permissionControl", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 155, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L155" + } + ], + "typeParameter": [ + { + "id": 848, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 849, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 850, + "name": "role", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the role to get the members of\n\nCan be any custom role, or a built-in role, such as:\n- " + }, + { + "kind": "code", + "text": "`\"admin\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"transfer\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"minter\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"pauser\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"lister\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"asset\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"unwrap\"`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`\"factory\"`" + } + ] + }, + "type": { + "type": "reference", + "target": 876, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 333, + "name": "useRoyaltySettings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 190, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L190" + } + ], + "signatures": [ + { + "id": 334, + "name": "useRoyaltySettings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for retrieving royalty settings of a smart contract.\n\nAvailable to use on contracts that implement the [" + }, + { + "kind": "code", + "text": "`Royalty`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/Royalty) interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useRoyaltySettings } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useRoyaltySettings(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an object with two properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n seller_fee_basis_points: number;\n fee_recipient: string;\n}\n```" + }, + { + "kind": "text", + "text": "\n\n- The " + }, + { + "kind": "code", + "text": "`seller_fee_basis_points`" + }, + { + "kind": "text", + "text": " is the royalty amount (in basis points) that the seller\n will receive for each token sale on secondary markets.\n- The " + }, + { + "kind": "code", + "text": "`fee_recipient`" + }, + { + "kind": "text", + "text": " is the wallet address that will receive the royalty payments." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Royalty" + } + ] + }, + { + "tag": "@platformFees", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 190, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L190" + } + ], + "parameters": [ + { + "id": 335, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 336, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 338, + "name": "fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 195, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L195" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 337, + "name": "seller_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 194, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L194" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 338, + 337 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 193, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L193" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1072, + "name": "useSDK", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useSDK.ts", + "line": 44, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useSDK.ts#L44" + } + ], + "signatures": [ + { + "id": 1073, + "name": "useSDK", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the instance of the " + }, + { + "kind": "code", + "text": "`ThirdwebSDK`" + }, + { + "kind": "text", + "text": " class being used by the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " component.\n\nThis gives access to all of the functionality of the TypeScript SDK in your React app.\n\n- If there is a connected wallet, the SDK is instantiated from the connected wallet’s signer. Meaning all transactions are initiated from the connected wallet.\n- If there is no connected wallet, the SDK is in read-only mode on the activeChain." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { useSDK } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const sdk = useSDK();\n\n // Now you use all of the TypeScript SDK functionality\n // For example, deploy a new contract from the connected wallet.\n async function deployContract() {\n sdk?.deployer.deployNFTDrop({\n name: \"My NFT Drop\",\n primary_sale_recipient: \"{{wallet_address}}\",\n });\n }\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useSDK.ts", + "line": 44, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useSDK.ts#L44" + } + ], + "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": 857, + "name": "useSetAllRoleMembers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 279, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L279" + } + ], + "signatures": [ + { + "id": 858, + "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 to overwrite all roles on the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions" + } + ] + }, + { + "tag": "@permissionControl", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/roles.ts", + "line": 279, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/roles.ts#L279" + } + ], + "typeParameter": [ + { + "id": 859, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 860, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "intrinsic", + "name": "void" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "mapped", + "parameter": "role", + "parameterType": { + "type": "intrinsic", + "name": "any" + }, + "templateType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1053, + "name": "useSetAppURI", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 81, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L81" + } + ], + "signatures": [ + { + "id": 1054, + "name": "useSetAppURI", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set App URI of the contract" + } + ], + "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 to update the appURI of a contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AppURI" + } + ] + }, + { + "tag": "@appURI", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 81, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L81" + } + ], + "parameters": [ + { + "id": 1055, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1056, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1058, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 87, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L87" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1059, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 87, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L87" + } + ], + "signatures": [ + { + "id": 1060, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1057, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 86, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L86" + } + ], + "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": [ + 1058, + 1057 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 85, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L85" + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 1061, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1062, + "name": "uri", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 93, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L93" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1062 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/app.ts", + "line": 92, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/app.ts#L92" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 314, + "name": "useSetClaimConditions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 828, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L828" + } + ], + "signatures": [ + { + "id": 315, + "name": "useSetClaimConditions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for setting claim conditions on a drop contract.\n\nThis is available for available for contracts that implement the \"ClaimConditions\" interface; such as [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721), [Edition Drop](https://thirdweb.com/thirdweb.eth/DropERC1155), and [Token Drop](https://thirdweb.com/thirdweb.eth/DropERC20).\n\nWhen using an ERC1155 contract, you must also provide the token ID of the NFT you want to set claim conditions on as the second parameter to the hook." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport {\n useSetClaimConditions,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: setClaimConditions,\n isLoading,\n error,\n } = useSetClaimConditions(contract);\n\n const claimConditions = {\n phases: [\n {\n metadata: {\n name: \"Phase 1\", // The name of the phase\n },\n currencyAddress: \"0x...\", // The address of the currency you want users to pay in\n price: 1, // The price of the token in the currency specified above\n maxClaimablePerWallet: 1, // The maximum number of tokens a wallet can claim\n maxClaimableSupply: 100, // The total number of tokens that can be claimed in this phase\n startTime: new Date(), // When the phase starts (i.e. when users can start claiming tokens)\n waitInSeconds: 60 * 60 * 24 * 7, // The period of time users must wait between repeat claims\n snapshot: [\n {\n address: \"0x...\", // The address of the wallet\n currencyAddress: \"0x...\", // Override the currency address this wallet pays in\n maxClaimable: 5, // Override the maximum number of tokens this wallet can claim\n price: 0.5, // Override the price this wallet pays\n },\n ],\n merkleRootHash: \"0x...\", // The merkle root hash of the snapshot\n },\n ],\n }\n\n return (\n setClaimConditions(claimConditions)}\n >\n Set Claim Conditions\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Mutation object to set claim conditions\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useSetClaimConditions(contract);\n\nfunction setPhases(phases) {\n mutateAsync({\n phases,\n });\n}\n\nfunction reset() {\n mutateAsync({\n reset: true,\n })\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an object with two possible properties:\n\n1. " + }, + { + "kind": "code", + "text": "`reset`" + }, + { + "kind": "text", + "text": " - A boolean that determines whether to reset the claim conditions. This means you reset any previous claim conditions that existed and allow users to claim again as if the drop had just started.\n2. " + }, + { + "kind": "code", + "text": "`phases`" + }, + { + "kind": "text", + "text": " - An array of claim phases that occur in chronological order. You can only have one phase occur at a time. All properties of a phase are optional, with the default being a free, open, unlimited claim, in the native currency, starting immediately.\n\n---\n\n#### reset (optional)\n\nA boolean value that determines whether to reset the claim conditions or to keep the existing state.\n\nBy resetting them, any previous claims that were made will be ignored by the claim condition restrictions.\n\nFor example, if you had a limit of 1 token per wallet, and a user claimed a token, then you reset the claim conditions, that user will be able to claim another token.\n\nDefault value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\n\n---\n\n#### phases (required)\n\nProvide an array of phases that occur in chronological order. All properties of a phase are optional and are described below:\n\n##### metadata\n\nAn object representing the metadata of the phase. This is only for display purposes in the dashboard and isn’t used elsewhere.\n\n" + }, + { + "kind": "code", + "text": "```js\n{\n name: string;\n}\n```" + }, + { + "kind": "text", + "text": "\n\n##### currencyAddress\n\nThe address of the currency you want users to pay in.\n\nThis can be any ERC20 token value. If you want users to pay in the native currency (e.g. Ether on Ethereum), you can import the " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": " constant from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/sdk`" + }, + { + "kind": "text", + "text": ". The default value is " + }, + { + "kind": "code", + "text": "`NATIVE_TOKEN_ADDRESS`" + }, + { + "kind": "text", + "text": ".\n\n##### price\n\nThe price per token in the currency specified above. The default value is " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": ".\n\n##### maxClaimablePerWallet\n\nThe maximum number of tokens a wallet can claim. The default value is " + }, + { + "kind": "code", + "text": "`\"unlimited\"`" + }, + { + "kind": "text", + "text": "\n\n##### maxClaimableSupply\n\nThe total number of tokens that can be claimed in this phase.\n\nFor example, if you lazy mint 1000 tokens and set the " + }, + { + "kind": "code", + "text": "`maxClaimableSupply`" + }, + { + "kind": "text", + "text": " to 100, then only 100 tokens will be claimable in this phase, leaving 900 tokens to be claimed in the next phases (if you have any).\n\nThis is useful for \"early bird\" use cases, where you allow users to claim a limited number of tokens at a discounted price during the first X amount of time.\n\n##### startTime\n\nWhen the phase starts (i.e. when users can start claiming tokens).\n\nThe default value is " + }, + { + "kind": "code", + "text": "`\"immediately\"`" + }, + { + "kind": "text", + "text": ".\n\n##### waitInSeconds\n\nThe amount of time between claims a wallet must wait before they can claim again.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": ", meaning users can claim again immediately after claiming.\n\n##### snapshot\n\nA list of wallets that you want to override the default claim conditions for.\n\nWallet addresses within this list can be set to pay in a different currency, have a different price, and have a different maximum claimable amount.\n\n" + }, + { + "kind": "code", + "text": "```jsx\n{\n address: string;\n currencyAddress?: string;\n maxClaimable?: number;\n price?: number;\n}\n```" + }, + { + "kind": "text", + "text": "\n\n[Learn more about improving claim conditions](https://blog.thirdweb.com/announcing-improved-claim-conditions/)\n\n##### merkleRootHash\n\nIf you want to provide your own merkle tree for your snapshot, provide the merkle root hash here. This is only recommended for advanced use cases." + } + ] + }, + { + "tag": "@claimConditions", + "content": [] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 828, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L828" + } + ], + "parameters": [ + { + "id": 316, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "DropContract", + "target": 1161, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1161, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 317, + "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": 318, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 319, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 832, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L832" + } + ], + "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": [ + 319 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/claim-conditions.ts", + "line": 832, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/claim-conditions.ts#L832" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 278, + "name": "SetClaimConditionsParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 92, + "name": "useSetConnectedWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 468, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L468" + } + ], + "signatures": [ + { + "id": 93, + "name": "useSetConnectedWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for setting a wallet instance as \"connected\" - once done, the wallet connection hooks like " + }, + { + "kind": "code", + "text": "`useWallet`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`useSigner`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`useConnectionStatus`" + }, + { + "kind": "text", + "text": " etc will return the data for that wallet instance\n\nThis is only useful if you are manually connecting a wallet instance as mentioned in [Build your Wallet](https://portal.thirdweb.com/wallet-sdk/v2/build)" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nimport {\n useCreateWalletInstance,\n useSetConnectionStatus,\n useSetConnectedWallet,\n metamaskWallet\n} from \"@thirdweb-dev/react\";\n\nconst walletConfig = metamaskWallet();\n\nfunction Example() {\n const createWalletInstance = useCreateWalletInstance();\n const setConnectionStatus = useSetConnectionStatus();\n const setConnectedWallet = useSetConnectedWallet();\n\n // Call this function to connect your wallet\n const handleConnect = async () => {\n // 1. create instance\n const walletInstance = createWalletInstance(walletConfig);\n setConnectionStatus(\"connecting\");\n\n try {\n // 2. Call `connect` method of your wallet\n await walletInstance.connect(\n connectOptions, // if your wallet.connect method accepts any options, specify it here\n );\n\n // 3. Set connected wallet\n setConnectedWallet(walletInstance);\n props.close();\n } catch (e) {\n setConnectionStatus(\"disconnected\");\n console.error(\"failed to connect\", e);\n }\n };\n\n return
...
;\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function to set a wallet instance as \"connected\"." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 468, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L468" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 94, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 109, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L109" + } + ], + "signatures": [ + { + "id": 95, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 109, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L109" + } + ], + "parameters": [ + { + "id": 96, + "name": "wallet", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 97, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/interfaces/connector.ts", + "qualifiedName": "ConnectParams" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "ConnectParams", + "package": "@thirdweb-dev/wallets" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 87, + "name": "useSetConnectionStatus", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 338, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L338" + } + ], + "signatures": [ + { + "id": 88, + "name": "useSetConnectionStatus", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for setting the " + }, + { + "kind": "code", + "text": "`connectionStatus`" + }, + { + "kind": "text", + "text": " of the wallet which is returned by the " + }, + { + "kind": "code", + "text": "`useConnectionStatus`" + }, + { + "kind": "text", + "text": " hook\n\nThis is only useful if you are manually connecting a wallet instance as mentioned in [Build your Wallet](https://portal.thirdweb.com/wallet-sdk/v2/build)" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nimport {\n useCreateWalletInstance,\n useSetConnectionStatus,\n useSetConnectedWallet,\n metamaskWallet\n} from \"@thirdweb-dev/react\";\n\nconst walletConfig = metamaskWallet();\n\nfunction Example() {\n const createWalletInstance = useCreateWalletInstance();\n const setConnectionStatus = useSetConnectionStatus();\n const setConnectedWallet = useSetConnectedWallet();\n\n // Call this function to connect your wallet\n const handleConnect = async () => {\n // 1. create instance\n const walletInstance = createWalletInstance(walletConfig);\n setConnectionStatus(\"connecting\");\n\n try {\n // 2. Call `connect` method of your wallet\n await walletInstance.connect(\n connectOptions, // if your wallet.connect method accepts any options, specify it here\n );\n\n // 3. Set connected wallet\n setConnectedWallet(walletInstance);\n props.close();\n } catch (e) {\n setConnectionStatus(\"disconnected\");\n console.error(\"failed to connect\", e);\n }\n };\n\n return
...
;\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function that sets the " + }, + { + "kind": "code", + "text": "`connectionStatus`" + }, + { + "kind": "text", + "text": " of the wallet" + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 338, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L338" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 89, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 100, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L100" + } + ], + "signatures": [ + { + "id": 90, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 100, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L100" + } + ], + "parameters": [ + { + "id": 91, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 106, + "name": "ConnectionStatus", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ] + }, + { + "id": 833, + "name": "useSharedMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 469, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L469" + } + ], + "signatures": [ + { + "id": 834, + "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": "Query result object that includes the shared metadata of the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721SharedMetadata" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 469, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L469" + } + ], + "parameters": [ + { + "id": 835, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1133, + "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": 1042, + "name": "useSigner", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useSigner.ts", + "line": 25, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useSigner.ts#L25" + } + ], + "signatures": [ + { + "id": 1043, + "name": "useSigner", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the [ethers signer](https://docs.ethers.org/v5/api/signer/) of the connected wallet." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useSigner, Web3Button } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const signer = useSigner();\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "code", + "text": "`Signer`" + }, + { + "kind": "text", + "text": " if wallet is connected, otherwise " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useSigner.ts", + "line": 25, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useSigner.ts#L25" + } + ], + "type": { + "type": "union", + "types": [ + { + "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" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1028, + "name": "useStorage", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/storage/useStorage.ts", + "line": 47, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/storage/useStorage.ts#L47" + } + ], + "signatures": [ + { + "id": 1029, + "name": "useStorage", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the instance of the " + }, + { + "kind": "code", + "text": "`ThirdwebStorage`" + }, + { + "kind": "text", + "text": " class being used by the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "\n\nAllows you to use the TypeScript SDK functionality of [Storage](https://portal.thirdweb.com/infrastructure/storage/overview) in your React app." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useStorage } from \"@thirdweb-dev/react\";\n\nexport default function Component() {\n const storage = useStorage();\n\n // Now you can use the functionality of the ThirdwebStorage class:\n storage?.download(); // Download a file from IPFS\n storage?.upload(); // Upload a file to IPFS\n}\n```" + } + ] + }, + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "### API Key\n\nYou will require an API key to use thirdweb’s storage services with the SDK. If you haven’t created a key yet you can do so for free from the [**thirdweb dashboard**](https://thirdweb.com/create-api-key).\n\nYou can then obtain a " + }, + { + "kind": "code", + "text": "`clientId`" + }, + { + "kind": "text", + "text": " from the API key which you will need to pass to the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " component:\n\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" + }, + { + "kind": "text", + "text": "\n\nStorage can also be configured using the " + }, + { + "kind": "code", + "text": "`storageInterface`" + }, + { + "kind": "text", + "text": " prop on " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + } + ] + }, + { + "tag": "@storage", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/storage/useStorage.ts", + "line": 47, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/storage/useStorage.ts#L47" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../storage/src/core/storage.ts", + "qualifiedName": "ThirdwebStorage" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../storage/src/types/upload.ts", + "qualifiedName": "IpfsUploadBatchOptions" + }, + "name": "IpfsUploadBatchOptions", + "package": "@thirdweb-dev/storage" + } + ], + "name": "ThirdwebStorage", + "package": "@thirdweb-dev/storage" + } + ] + } + } + ] + }, + { + "id": 1030, + "name": "useStorageUpload", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/storage/useStorageUpload.ts", + "line": 119, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/storage/useStorageUpload.ts#L119" + } + ], + "signatures": [ + { + "id": 1031, + "name": "useStorageUpload", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for uploading files to IPFS and retrieving the IPFS URI." + } + ], + "blockTags": [ + { + "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": "@remarks", + "content": [ + { + "kind": "text", + "text": "### API key\n\nYou will require an API key to use thirdweb’s storage services with the SDK. If you haven’t created a key yet you can do so for free from the [**thirdweb dashboard**](https://thirdweb.com/create-api-key).\n\nYou can then obtain a " + }, + { + "kind": "code", + "text": "`clientId`" + }, + { + "kind": "text", + "text": " from the API key which you will need to pass to the [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](/react/react.thirdwebprovider) component:\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebProvider } from \"@thirdweb/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" + } + ] + }, + { + "tag": "@storage", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/storage/useStorageUpload.ts", + "line": 119, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/storage/useStorageUpload.ts#L119" + } + ], + "typeParameter": [ + { + "id": 1032, + "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": 1033, + "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/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "StorageUploadOptions" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + } + ], + "name": "StorageUploadOptions", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1044, + "name": "useSupportedChains", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useSupportedChains.ts", + "line": 11, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useSupportedChains.ts#L11" + } + ], + "signatures": [ + { + "id": 1045, + "name": "useSupportedChains", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " which returns the array passed to the " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " prop of the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " or the default supported chains if not specified.\n\nIf " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " is set in the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " then it is also added to the " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " array" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useSupportedChains.ts", + "line": 11, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useSupportedChains.ts#L11" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + } + ] + }, + { + "id": 981, + "name": "useSwitchAccount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "line": 22, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts#L22" + } + ], + "signatures": [ + { + "id": 982, + "name": "useSwitchAccount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to switch the account of the active wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst { switchAccount, isLoading } = useSwitchAccount();\n\nconst handleSwitchAccount = async (address: string) => {\n await switchAccount(address);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function to invoke to switch account and a boolean to indicate if it is in progress" + } + ] + }, + { + "tag": "@auth", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "line": 22, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts#L22" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 983, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 985, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "line": 54, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts#L54" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "switchAccount.isLoading" + }, + { + "id": 984, + "name": "switchAccount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "line": 53, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts#L53" + } + ], + "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": "UseMutateAsyncFunction" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutateAsyncFunction", + "package": "@tanstack/react-query" + }, + "defaultValue": "switchAccount.mutateAsync" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 985, + 984 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "line": 52, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useSwitchAccount.ts#L52" + } + ] + } + } + } + ] + }, + { + "id": 78, + "name": "useSwitchChain", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 409, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L409" + } + ], + "signatures": [ + { + "id": 79, + "name": "useSwitchChain", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for switching to a different network." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useSwitchChain } from \"@thirdweb-dev/react\";\nimport { Goerli } from \"@thirdweb-dev/chains\";\n\nfunction App() {\n const switchChain = useSwitchChain();\n return (\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A function to switch the network in the currently connected wallet to network with given " + }, + { + "kind": "code", + "text": "`chainId`" + } + ] + }, + { + "tag": "@networkConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 409, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L409" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 80, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 106, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L106" + } + ], + "signatures": [ + { + "id": 81, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 106, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L106" + } + ], + "parameters": [ + { + "id": 82, + "name": "chain", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 888, + "name": "useTokenBalance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 107, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L107" + } + ], + "signatures": [ + { + "id": 889, + "name": "useTokenBalance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching the balance a wallet has for a specific ERC20 token.\n\n__This hook is for _custom_ ERC20 tokens. For native tokens such as Ether, use " + }, + { + "kind": "code", + "text": "`useBalance`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`useBalanceForAddress`" + }, + { + "kind": "text", + "text": "__\n\nAvailable to use on contracts that implement the ERC20 interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useTokenBalance, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"token\");\n const { data, isLoading, error } = useTokenBalance(contract, walletAddress);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " object includes the token balance for given wallet address" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 107, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L107" + } + ], + "parameters": [ + { + "id": 890, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 891, + "name": "walletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "reflection", + "declaration": { + "id": 892, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 896, + "name": "decimals", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 115, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L115" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 897, + "name": "displayValue", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 116, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L116" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 895, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 114, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 893, + "name": "symbol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 112, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 894, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 113, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L113" + } + ], + "type": { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 896, + 897, + 895, + 893, + 894 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 111, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L111" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 898, + "name": "useTokenDecimals", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 164, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L164" + } + ], + "signatures": [ + { + "id": 899, + "name": "useTokenDecimals", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching the [decimals](https://docs.openzeppelin.com/contracts/3.x/erc20#a-note-on-decimals)\nof an [ERC20](https://portal.thirdweb.com/contracts/build/extensions/erc-20/ERC20) token.\n\nTokens usually opt for a value of " + }, + { + "kind": "code", + "text": "`18`" + }, + { + "kind": "text", + "text": ", imitating the relationship between Ether and Wei.\nTherefore, " + }, + { + "kind": "code", + "text": "`18`" + }, + { + "kind": "text", + "text": " is the default value returned by this function, unless your ERC20 contract explicitly overrides it." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useTokenDecimals, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"token\");\n const { data, isLoading, error } = useTokenDecimals(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains the " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": " that represents the number of decimals of the ERC20 token." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 164, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L164" + } + ], + "parameters": [ + { + "id": 900, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "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": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 879, + "name": "useTokenSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 54, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L54" + } + ], + "signatures": [ + { + "id": 880, + "name": "useTokenSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching the total supply of an ERC20 token.\n\nThis takes into account the increase and decrease in supply when tokens are minted and burned." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useTokenSupply } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { data, isLoading, error } = useTokenSupply(contractAddress);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " object includes the total supply of the token in the " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " property as a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " object." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 54, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L54" + } + ], + "parameters": [ + { + "id": 881, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "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": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 882, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 886, + "name": "decimals", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 61, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L61" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 887, + "name": "displayValue", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 62, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L62" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 885, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 60, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L60" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 883, + "name": "symbol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 58, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L58" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 884, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 59, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L59" + } + ], + "type": { + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 886, + 887, + 885, + 883, + 884 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 57, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L57" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 792, + "name": "useTotalCirculatingSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 279, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L279" + } + ], + "signatures": [ + { + "id": 793, + "name": "useTotalCirculatingSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching the total number of NFTs in circulation for a given smart contract.\n\nThis takes into account the increase in supply due to minting and the decrease in supply due to burning.\n\nAvailable to use on contracts that implement either the [ERC721](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721)\nor [ERC1155](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) standard." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useTotalCirculatingSupply, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useTotalCirculatingSupply(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " representing the total circulating supply." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Supply | ERC1155Enumerable" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 279, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L279" + } + ], + "parameters": [ + { + "id": 794, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 795, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Required for ERC1155, the tokenId to look up. This will return the total quantity of the given token ID in circulation.\n" + }, + { + "kind": "code", + "text": "```ts\nimport { useTotalCirculatingSupply, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useTotalCirculatingSupply(\n contract,\n \"{{token_id}}\",\n );\n}\n```" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 788, + "name": "useTotalCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 207, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L207" + } + ], + "signatures": [ + { + "id": 789, + "name": "useTotalCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the total count of **unique** NFTs minted on a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`ERC721`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721)\nor [" + }, + { + "kind": "code", + "text": "`ERC1155`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155) standard.\n\nWhen used for ERC1155 contracts, the total count is the number of unique token IDs minted, _not_ the total supply of all tokens in circulation." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useTotalCount, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data: totalCount, isLoading, error } = useTotalCount(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " that includes the total count of NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Supply | ERC1155Enumerable" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 207, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L207" + } + ], + "typeParameter": [ + { + "id": 790, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 791, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 917, + "name": "useTransferBatchToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 587, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L587" + } + ], + "signatures": [ + { + "id": 918, + "name": "useTransferBatchToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for transferring ERC20 tokens to multiple recipients in a single transaction (i.e. airdrop).\n\nAvailable to use on contracts that implement the [ERC20](https://portal.thirdweb.com/contracts/build/extensions/erc-20/ERC20) interface.\n\nThe wallet that initiates this transaction must have sufficient balance to cover the total amount of tokens being transferred\nand must have transfer permissions on the contract, i.e. tokens are not soulbound." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Provide your token contract instance from the " + }, + { + "kind": "code", + "text": "`useContract`" + }, + { + "kind": "text", + "text": " hook to the hook.\n\nThen, provide an array of objects with the " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`amount`" + }, + { + "kind": "text", + "text": " properties to the function.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport {\n useTransferBatchToken,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"token\");\n const {\n mutateAsync: transferBatchToken,\n isLoading,\n error,\n } = useTransferBatchToken(contract);\n\n return (\n \n transferBatchToken([\n {\n to: \"{{wallet_address}}\", // Transfer 10 tokens to a wallet\n amount: 10,\n },\n {\n to: \"{{wallet_address}}\", // Transfer 20 tokens to another wallet\n amount: 20,\n },\n ])\n }\n >\n Transfer Batch Tokens\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Mutation object to transfer batch tokens\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useTransferBatchToken(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an array of objects containing " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`amount`" + }, + { + "kind": "text", + "text": " properties.\n\n- " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": " - The wallet address to transfer tokens to. Must be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": ".\n- " + }, + { + "kind": "code", + "text": "`amount`" + }, + { + "kind": "text", + "text": " - The amount of tokens to transfer. Must be a " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 587, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L587" + } + ], + "parameters": [ + { + "id": 919, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 920, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/erc-20.d.ts", + "line": 233, + "character": 27 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1126, + "name": "TokenParams", + "package": "@thirdweb-dev/react-core" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 815, + "name": "useTransferNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 809, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L809" + } + ], + "signatures": [ + { + "id": 816, + "name": "useTransferNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for transferring ERC721 or ERC1155 NFTs to another wallet address.\n\nAvailable to use on contracts that implement either the\n[ERC721](https://portal.thirdweb.com/contracts/build/extensions/erc-721/ERC721)\nand [ERC1155](https://portal.thirdweb.com/contracts/build/extensions/erc-1155/ERC1155)\ninterfaces, such as the [Edition](https://thirdweb.com/thirdweb.eth/TokenERC1155)\nor [NFT Collection](https://thirdweb.com/thirdweb.eth/TokenERC721).\n\nThe wallet address that initiates this transaction must have transfer permissions on the contract (i.e. the tokens are not soulbound).\nIt also must have the required amount of token(s) available to transfer." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useTransferNFT, Web3Button } from \"@thirdweb-dev/react\";\n\n// Your NFT collection contract address\nconst contractAddress = \"{{contract_address}}\";\nconst walletAddress = \"{{wallet_address}}\";\nconst tokenId = \"{{token_id}}\";\n\nfunction App() {\n // Contract must be an ERC-721 or ERC-1155 contract\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: transferNFT,\n isLoading,\n error,\n } = useTransferNFT(contract);\n\n return (\n \n transferNFT({\n to: walletAddress, // Address to transfer the token to\n tokenId: tokenId, // Token ID to transfer\n })\n }\n >\n Transfer\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object to transfer NFTs\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useTransferNFT(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object with the following properties:\n\n#### to\nThe wallet address to transfer the token(s) to.\n\nTo use the connected wallet address, use the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook.\n\n\n#### tokenId\nThe token ID of the NFT to transfer.\n\nCan be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": ".\n\n#### amount (ERC1155 only)\nIf you are using an ERC1155 contract, specify the amount of tokens to transfer." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721 | ERC1155" + } + ] + }, + { + "tag": "@nft", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 809, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L809" + } + ], + "typeParameter": [ + { + "id": 817, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1133, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 818, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`NFTContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 819, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 821, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 815, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L815" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 822, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 815, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L815" + } + ], + "signatures": [ + { + "id": 823, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 820, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 814, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L814" + } + ], + "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": [ + 821, + 820 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/nft.ts", + "line": 813, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/nft.ts#L813" + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1136, + "name": "TransferNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 925, + "name": "useTransferNativeToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 502, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L502" + } + ], + "signatures": [ + { + "id": 926, + "name": "useTransferNativeToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A hook to transfer native token (of the active chain) to another wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const {\n mutate: transferNativeToken,\n isLoading,\n error,\n } = useTransferNativeToken();\n\n if (error) {\n console.error(\"failed to transfer tokens\", error);\n }\n\n return (\n transferNativeToken({ to: \"{{wallet_address}}\", amount: \"0.1\" })}\n >\n Transfer\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Mutation object to transfer native tokens\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useTransferNativeToken();\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object containing " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`amount`" + }, + { + "kind": "text", + "text": " properties.\n\n- " + }, + { + "kind": "code", + "text": "`to`" + }, + { + "kind": "text", + "text": " - The wallet address to transfer tokens to. Must be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": ".\n- " + }, + { + "kind": "code", + "text": "`amount`" + }, + { + "kind": "text", + "text": " - The amount of tokens to transfer. Must be a " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 502, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L502" + } + ], + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResultWithMetadata" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "TransactionResultWithMetadata", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1126, + "name": "TokenParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 913, + "name": "useTransferToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 435, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L435" + } + ], + "signatures": [ + { + "id": 914, + "name": "useTransferToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for transferring tokens on an ERC20 contract.\n\nAvailable to use on contracts that implement the [ERC20](https://portal.thirdweb.com/contracts/build/extensions/erc-20/ERC20)\ninterface, such as the [Token](https://thirdweb.com/thirdweb.eth/TokenERC20) contract.\n\nThe wallet address that initiates this transaction must have a balance of tokens\ngreater than or equal to the amount being transferred." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useTransferToken, Web3Button } from \"@thirdweb-dev/react\";\n\nconst contractAddress = \"{{contract_address}}\";\nconst toAddress = \"{{to_address}}\";\nconst amount = \"{{amount}}\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const {\n mutate: transferTokens,\n isLoading,\n error,\n } = useTransferToken(contract);\n\n return (\n \n transferTokens({\n to: toAddress, // Address to transfer to\n amount: amount, // Amount to transfer\n })\n }\n >\n Transfer\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to transfer tokens\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useTransferToken(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\nThe mutation function takes an object as an argument with the following properties:\n\n#### to\nThe wallet address to transfer tokens to.\n\n#### amount\nThe quantity of tokens to transfer. Can be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@token", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/token.ts", + "line": 435, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/token.ts#L435" + } + ], + "parameters": [ + { + "id": 915, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`TokenContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1134, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/erc-20.d.ts", + "line": 147, + "character": 60 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1126, + "name": "TokenParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 480, + "name": "useUnclaimedNFTSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 203, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L203" + } + ], + "signatures": [ + { + "id": 481, + "name": "useUnclaimedNFTSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching the number of unclaimed NFTs from an NFT/Edition Drop contract.\n\nUnclaimed NFTs are tokens that were lazy-minted but have not yet been claimed by a user.\n\nAvailable to use on contracts that implement the [" + }, + { + "kind": "code", + "text": "`LazyMint`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/LazyMint) extension;\nsuch as the [NFT Drop](https://thirdweb.com/thirdweb.eth/DropERC721) contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useUnclaimedNFTSupply, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"nftDrop\");\n const { data, isLoading, error } = useUnclaimedNFTSupply(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains a " + }, + { + "kind": "code", + "text": "`BigNumber`" + }, + { + "kind": "text", + "text": " representing the number of unclaimed NFTs." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 203, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L203" + } + ], + "parameters": [ + { + "id": 482, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "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" + }, + "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": "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": 470, + "name": "useUnclaimedNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 87, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L87" + } + ], + "signatures": [ + { + "id": 471, + "name": "useUnclaimedNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for fetching information about all NFTs that haven't been claimed yet from an NFT Drop contract.\n\nAvailable to use on contracts that extends the ERC721 spec" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useUnclaimedNFTs, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useUnclaimedNFTs(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, contains an array of " + }, + { + "kind": "code", + "text": "`NFT`" + }, + { + "kind": "text", + "text": " objects." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@nftDrop", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/drop.ts", + "line": 87, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/drop.ts#L87" + } + ], + "parameters": [ + { + "id": 472, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "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": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 473, + "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\nBy default, the hook returns the first 100 unclaimed NFTs from the contract.\n\nPaginate the results by providing a " + }, + { + "kind": "code", + "text": "`queryParams`" + }, + { + "kind": "text", + "text": " object as the second argument.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useUnclaimedNFTs, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const { data, isLoading, error } = useUnclaimedNFTs(\n contract,\n {\n count: 10, // Limit the number of results\n start: 0, // Start from the nth result (useful for pagination)\n },\n );\n}\n```" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 474, + "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": "NFTMetadata" + }, + "name": "NFTMetadata", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 362, + "name": "useUpdateMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 580, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L580" + } + ], + "signatures": [ + { + "id": 363, + "name": "useUpdateMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for updating the metadata of a smart contract.\n\nAvailable to use on smart contracts that implement the " + }, + { + "kind": "code", + "text": "`ContractMetadata`" + }, + { + "kind": "text", + "text": " interface.\n\nThe wallet initiating this transaction must have the required permissions to update the metadata, (" + }, + { + "kind": "code", + "text": "`admin`" + }, + { + "kind": "text", + "text": " permissions required by default).\n\nProvide your contract instance from the " + }, + { + "kind": "code", + "text": "`useContract`" + }, + { + "kind": "text", + "text": " hook as the first argument, and\nan object fitting the [contract-level metadata standards](https://docs.opensea.io/docs/contract-level-metadata) of\nthe new metadata as the second argument, including:\n\n- " + }, + { + "kind": "code", + "text": "`name`" + }, + { + "kind": "text", + "text": ": A " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " for the name of the smart contract (required).\n- " + }, + { + "kind": "code", + "text": "`description`" + }, + { + "kind": "text", + "text": ": A " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " to describe the smart contract (optional).\n- " + }, + { + "kind": "code", + "text": "`image`" + }, + { + "kind": "text", + "text": ": A " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`File`" + }, + { + "kind": "text", + "text": " object containing the URL or file data of an image to associate with the contract (optional).\n- " + }, + { + "kind": "code", + "text": "`external_link`" + }, + { + "kind": "text", + "text": ": A " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " containing a URL to view the smart contract on your website (optional)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useUpdateMetadata,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: updateMetadata,\n isLoading,\n error,\n } = useUpdateMetadata(contract);\n\n return (\n \n updateMetadata({\n name: \"My App\",\n description: \"My awesome Ethereum App\",\n image: \"/path/to/image.jpg\", // URL, URI, or File object\n external_link: \"https://myapp.com\",\n })\n }\n >\n Update Metadata\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Mutation object that to update the metadata" + } + ] + }, + { + "tag": "@metadata", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 580, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L580" + } + ], + "parameters": [ + { + "id": 364, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 352, + "name": "useUpdatePlatformFees", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 433, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L433" + } + ], + "signatures": [ + { + "id": 353, + "name": "useUpdatePlatformFees", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for updating platform fees on a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`PlatformFee`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/PlatformFee) interface.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport {\n useUpdatePlatformFees,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: updatePlatformFees,\n isLoading,\n error,\n } = useUpdatePlatformFees(contract);\n\n return (\n \n updatePlatformFees({\n platform_fee_basis_points: 0,\n fee_recipient: \"{{wallet_address}}\",\n })\n }\n >\n Update Platform Fees\n \n );\n}\n```" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to update the platform fees settings\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useUpdatePlatformFees(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an object with below properties:\n\n#### platform_fee_basis_points\n\nThe " + }, + { + "kind": "code", + "text": "`platform_fee_basis_points`" + }, + { + "kind": "text", + "text": " property is a " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": " between " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "code", + "text": "`10000`" + }, + { + "kind": "text", + "text": " that defines the fee rate.\n\nThis number is in percentage points. i.e. " + }, + { + "kind": "code", + "text": "`100`" + }, + { + "kind": "text", + "text": " is a 1% fee and " + }, + { + "kind": "code", + "text": "`10000`" + }, + { + "kind": "text", + "text": " is a 100% fee.\n\n#### fee_recipient\n\nThe " + }, + { + "kind": "code", + "text": "`fee_recipient`" + }, + { + "kind": "text", + "text": " property is the address of the wallet that will receive the fees.\n\nUse the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook to get the current wallet address." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PlatformFee" + } + ] + }, + { + "tag": "@platformFees", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 433, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L433" + } + ], + "parameters": [ + { + "id": 354, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 355, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/contract-platform-fee.d.ts", + "line": 56, + "character": 25 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 356, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 358, + "name": "fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 442, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L442" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 357, + "name": "platform_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 441, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L441" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 358, + 357 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 440, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L440" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 328, + "name": "useUpdatePrimarySaleRecipient", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 119, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L119" + } + ], + "signatures": [ + { + "id": 329, + "name": "useUpdatePrimarySaleRecipient", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for updating the primary sale recipient on a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`PrimarySale`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/PrimarySale) interface.\n\nThe wallet that initiates this transaction must have the required permissions to change the primary sale recipient (defaults to " + }, + { + "kind": "code", + "text": "`\"admin\"`" + }, + { + "kind": "text", + "text": " level)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useUpdatePrimarySaleRecipient,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: updatePrimarySaleRecipient,\n isLoading,\n error,\n } = useUpdatePrimarySaleRecipient(contract);\n\n return (\n updatePrimarySaleRecipient(\"{{wallet_address}}\")}\n >\n Update Primary Sale Recipient\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to update the primary sales recipient\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useUpdatePrimarySaleRecipient(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes a " + }, + { + "kind": "code", + "text": "`walletAddress`" + }, + { + "kind": "text", + "text": " as argument:\n\n#### walletAddress\n\nThe wallet address to set as the primary sale recipient." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PrimarySale" + } + ] + }, + { + "tag": "@platformFees", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 119, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L119" + } + ], + "parameters": [ + { + "id": 330, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 331, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 332, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 123, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L123" + } + ], + "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": [ + 332 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 122, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L122" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 339, + "name": "useUpdateRoyaltySettings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 277, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L277" + } + ], + "signatures": [ + { + "id": 340, + "name": "useUpdateRoyaltySettings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for updating royalty settings on a smart contract.\n\nAvailable to use on smart contracts that implement the [" + }, + { + "kind": "code", + "text": "`Royalty`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/contracts/build/extensions/general/Royalty) interface." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport {\n useUpdateRoyaltySettings,\n useContract,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress);\n const {\n mutateAsync: updateRoyaltySettings,\n isLoading,\n error,\n } = useUpdateRoyaltySettings(contract);\n\n return (\n \n updateRoyaltySettings({\n seller_fee_basis_points: 0,\n fee_recipient: \"{{wallet_address}}\",\n })\n }\n >\n Update Royalty Settings\n \n );\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A mutation object to update the royalty settings\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { mutateAsync, isLoading, error } = useUpdateRoyaltySettings(contract);\n```" + }, + { + "kind": "text", + "text": "\n\n### options\n\nThe mutation function takes an object with below properties:\n\n#### seller_fee_basis_points\n\nThe " + }, + { + "kind": "code", + "text": "`seller_fee_basis_points`" + }, + { + "kind": "text", + "text": " property is a " + }, + { + "kind": "code", + "text": "`number`" + }, + { + "kind": "text", + "text": " between " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "code", + "text": "`10000`" + }, + { + "kind": "text", + "text": " that defines the fee rate.\n\nThis number is in percentage points. i.e. " + }, + { + "kind": "code", + "text": "`100`" + }, + { + "kind": "text", + "text": " is a 1% fee and " + }, + { + "kind": "code", + "text": "`10000`" + }, + { + "kind": "text", + "text": " is a 100% fee.\n\n#### fee_recipient\n\nThe " + }, + { + "kind": "code", + "text": "`fee_recipient`" + }, + { + "kind": "text", + "text": " property is the address of the wallet that will receive the fees." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Royalty" + } + ] + }, + { + "tag": "@platformFees", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 277, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L277" + } + ], + "parameters": [ + { + "id": 341, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a " + }, + { + "kind": "code", + "text": "`SmartContract`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 342, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/core/classes/contract-royalty.d.ts", + "line": 75, + "character": 20 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 343, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 345, + "name": "fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 286, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L286" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 344, + "name": "seller_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 285, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L285" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 345, + 344 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/contract-settings.ts", + "line": 284, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/contract-settings.ts#L284" + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 973, + "name": "useUser", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 34, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L34" + } + ], + "signatures": [ + { + "id": 974, + "name": "useUser", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for retrieving information about the currently signed-in user using [auth](https://portal.thirdweb.com/wallets/auth).\n\nUseful to get the user's address and session data, or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if no user is signed in.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useUser } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { user, isLoggedIn, isLoading } = useUser();\n}\n```" + } + ], + "blockTags": [ + { + "tag": "@auth", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 34, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L34" + } + ], + "typeParameter": [ + { + "id": 975, + "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": 976, + "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": 977, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 980, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 79, + "character": 37, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 979, + "name": "isLoggedIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 79, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "!!user" + }, + { + "id": 978, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 79, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L79" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": 986, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TData", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": -1, + "name": "TContext", + "refersToTypeParameter": true + } + ], + "name": "UserWithData", + "package": "@thirdweb-dev/react-core" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 980, + 979, + 978 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/auth/useUser.ts", + "line": 79, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/auth/useUser.ts#L79" + } + ] + } + } + } + ] + }, + { + "id": 539, + "name": "useValidDirectListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 758, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L758" + } + ], + "signatures": [ + { + "id": 540, + "name": "useValidDirectListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get a list of valid direct listings from a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\nA listing is considered valid if the:\n\n- Seller still owns the NFT\n- Listing has not expired (time is before " + }, + { + "kind": "code", + "text": "`endTimeInSeconds`" + }, + { + "kind": "text", + "text": ")\n- Listing has not been canceled\n- Listing has not been bought out (all " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " of the NFTs have not been purchased)\n\n\n**Note: This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.**\n\nFor " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contracts, use " + }, + { + "kind": "code", + "text": "`useActiveListings`" + }, + { + "kind": "text", + "text": " instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useValidDirectListings, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: directListings,\n isLoading,\n error,\n } = useValidDirectListings(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an array of " + }, + { + "kind": "code", + "text": "`DirectListingV3`" + }, + { + "kind": "text", + "text": " objects, each containing the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\nArray<{\n // The id of the listing.\n id: string;\n\n // The address of the creator of listing.\n creatorAddress: string;\n\n // The address of the asset being listed.\n assetContractAddress: string;\n\n // The ID of the token to list.\n tokenId: string;\n\n // The quantity of tokens to include in the listing.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: string;\n\n // The address of the currency to accept for the listing.\n currencyContractAddress: string;\n\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n currencyValuePerToken: CurrencyValue;\n\n // The price to pay per unit of NFTs listed.\n pricePerToken: string;\n\n // The asset being listed.\n asset: NFTMetadata;\n\n // The start time of the listing.\n startTimeInSeconds: number;\n\n // The end time of the listing.\n endTimeInSeconds: number;\n\n // Whether the listing is reserved to be bought from a specific set of buyers.\n isReservedListing: boolean;\n\n // Whether the listing is CREATED, COMPLETED, or CANCELLED.\n status: Status;\n}>;\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 758, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L758" + } + ], + "parameters": [ + { + "id": 541, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 542, + "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\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useValidDirectListings, useContract } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: directListings,\n isLoading,\n error,\n } = useValidDirectListings(\n contract,\n {\n count: 100, // Number of listings to fetch\n offeror: \"{{offeror_address}}\", // Has offers from this address\n seller: \"{{seller_address}}\", // Being sold by this address\n start: 0, // Start from this index (pagination)\n tokenContract: \"{{token_contract_address}}\", // Only show NFTs from this collection\n tokenId: \"{{token_id}}\", // Only show NFTs with this token ID\n },\n );\n}\n```" + } + ] + }, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplacev3/DirectListingV3.ts", + "qualifiedName": "DirectListingV3" + }, + "name": "DirectListingV3", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 547, + "name": "useValidEnglishAuctions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1045, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1045" + } + ], + "signatures": [ + { + "id": 548, + "name": "useValidEnglishAuctions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get all valid English auctions from a [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contract.\n\nA listing is considered valid if the:\n\n- Auction has not expired (i.e. current time is before the end time of the auction)\n- Auction has not been canceled\n- Auction has not been bought out (all quantity has been sold)\n\n__This hook is only for [Marketplace V3](https://thirdweb.com/thirdweb.eth/MarketplaceV3) contracts.__\n\nFor [Marketplace](https://thirdweb.com/thirdweb.eth/Marketplace)\ncontracts, use [useActiveListings](/react/react.useactivelistings) instead." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useValidEnglishAuctions, useContract } from \"@thirdweb-dev/react\";\n\n// Your smart contract address\nconst contractAddress = \"{{contract_address}}\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: englishAuctions,\n isLoading,\n error,\n } = useValidEnglishAuctions(contract);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A Query Result object that includes an array of english auctions\nThe hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an\narray of " + }, + { + "kind": "code", + "text": "`EnglishAuction`" + }, + { + "kind": "text", + "text": " objects, each containing the following properties:\n\n" + }, + { + "kind": "code", + "text": "```ts\nArray<{\n // The id of the auction\n id: string;\n\n // The address of the creator of auction.\n creatorAddress: string;\n\n // The address of the asset being auctioned.\n assetContractAddress: string;\n\n // The ID of the token to auction.\n tokenId: string;\n\n // The quantity of tokens to include in the auction.\n // For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).\n quantity: string;\n\n // The address of the currency to accept for the auction.\n currencyContractAddress: string;\n\n // The minimum price that a bid must be in order to be accepted.\n minimumBidAmount: string;\n\n // The `CurrencyValue` of the minimum bid amount.\n // Useful for displaying the price information.\n minimumBidCurrencyValue: CurrencyValue;\n\n // The buyout price of the auction.\n buyoutBidAmount: string;\n\n // The `CurrencyValue` of the buyout price.\n // Useful for displaying the price information.\n buyoutCurrencyValue: CurrencyValue;\n\n // This is a buffer e.g. x seconds.\n // If a new winning bid is made less than x seconds before expirationTimestamp, the\n // expirationTimestamp is increased by x seconds.\n timeBufferInSeconds: number;\n\n // This is a buffer in basis points e.g. x%.\n // To be considered as a new winning bid, a bid must be at least x% greater than\n // the current winning bid.\n bidBufferBps: number;\n\n // The start time of the auction.\n startTimeInSeconds: number;\n\n // The end time of the auction.\n endTimeInSeconds: number;\n\n // The asset being auctioned.\n asset: NFTMetadata;\n\n // Whether the listing is CREATED, COMPLETED, or CANCELLED.\n status: Status;\n}>;\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1045, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1045" + } + ], + "parameters": [ + { + "id": 549, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 550, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`filter`" + }, + { + "kind": "text", + "text": " object allows you to filter the auctions returned by the hook.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useEnglishAuctions, useContract } from \"@thirdweb-dev/react\";\n\n// Your smart contract address\nconst contractAddress = \"{{contract_address}}\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace-v3\");\n const {\n data: englishAuctions,\n isLoading,\n error,\n } = useEnglishAuctions(\n contract,\n // highlight-start\n {\n count: 100, // Number of auctions to fetch\n offeror: \"{{offeror_address}}\", // Has offers from this address\n seller: \"{{seller_address}}\", // Being sold by this address\n start: 0, // Start from this index (pagination)\n tokenContract: \"{{token_contract_address}}\", // Only show NFTs from this collection\n tokenId: \"{{token_id}}\", // Only show NFTs with this ID\n },\n // highlight-end\n );\n}\n```" + } + ] + }, + "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/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplacev3/EnglishAuction.ts", + "qualifiedName": "EnglishAuction" + }, + "name": "EnglishAuction", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 55, + "name": "useWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 73, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L73" + }, + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 90, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L90" + }, + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 94, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L94" + } + ], + "signatures": [ + { + "id": 56, + "name": "useWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the instance of the currently connected wallet." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useWallet } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const walletInstance = useWallet();\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Currently connected " + }, + { + "kind": "code", + "text": "`WalletInstance`" + }, + { + "kind": "text", + "text": " , or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if no wallet is connected." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 73, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L73" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 231, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 57, + "name": "useWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the instance of the currently connected wallet if it matches the given " + }, + { + "kind": "code", + "text": "`walletId`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useWallet } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const metamaskWalletInstance = useWallet('metamask');\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Currently connected " + }, + { + "kind": "code", + "text": "`WalletInstance`" + }, + { + "kind": "text", + "text": " with given " + }, + { + "kind": "code", + "text": "`walletId`" + }, + { + "kind": "text", + "text": " , or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if no wallet is connected or if the connected wallet does not match the given " + }, + { + "kind": "code", + "text": "`walletId`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 90, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L90" + } + ], + "typeParameter": [ + { + "id": 58, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "WalletId" + }, + "name": "WalletId", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 59, + "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": 31, + "name": "WalletIdToWalletTypeMap", + "package": "@thirdweb-dev/react-core" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 85, + "name": "useWalletConfig", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 142, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L142" + } + ], + "signatures": [ + { + "id": 86, + "name": "useWalletConfig", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the " + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " object of the currently connected wallet.\n\nThis is useful to get metadata about the connected wallet, such as the wallet name, logo, etc" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useWalletConfig } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const walletConfig = useWalletConfig();\n\n const walletName = walletConfig?.meta.name;\n const walletLogo = walletConfig?.meta.iconURL;\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The current connected wallet's configuration object or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if no wallet is connected." + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/hooks/wallet-hooks.ts", + "line": 142, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/hooks/wallet-hooks.ts#L142" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": 141, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + ] + } + } + ] + }, + { + "id": 104, + "name": "useWalletConnectHandler", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 765, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L765" + } + ], + "signatures": [ + { + "id": 105, + "name": "useWalletConnectHandler", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get WalletConnect handler instance" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "line": 765, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/core/providers/thirdweb-wallet-provider.tsx#L765" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/core/types/walletConnect.ts", + "qualifiedName": "WalletConnectHandler" + }, + "name": "WalletConnectHandler", + "package": "@thirdweb-dev/wallets" + } + ] + } + } + ] + }, + { + "id": 1226, + "name": "useWatchTransactions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useTransactions.ts", + "line": 40, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useTransactions.ts#L40" + } + ], + "signatures": [ + { + "id": 1227, + "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": "code", + "text": "`Transaction`" + }, + { + "kind": "text", + "text": " objects" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/useTransactions.ts", + "line": 40, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/useTransactions.ts#L40" + } + ], + "parameters": [ + { + "id": 1228, + "name": "watchTransactionParams", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for watching transactions\n\n#### address\nThe address to watch transactions for\n\n#### network\nThe network to watch transactions on\n\n#### sdkOptions\nOptions to pass to the thirdweb SDK" + } + ] + }, + "type": { + "type": "reference", + "target": 1229, + "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": 564, + "name": "useWinningBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1407, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1407" + } + ], + "signatures": [ + { + "id": 565, + "name": "useWinningBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting the winning bid of an auction listing on a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useContract, useWinningBid } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { contract } = useContract(contractAddress, \"marketplace\");\n const { data, isLoading, error } = useWinningBid(contract, listingId);\n}\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Query result object that includes the " + }, + { + "kind": "code", + "text": "`Offer`" + }, + { + "kind": "text", + "text": " that is winning the auction\nThe hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property, once loaded, is an object of type " + }, + { + "kind": "code", + "text": "`Offer`" + }, + { + "kind": "text", + "text": ", or " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " if no winning bid exists.\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n // The id of the listing.\n listingId: BigNumberish;\n\n // The address of the buyer who made the offer.\n buyerAddress: string;\n\n // The quantity of tokens to be bought.\n quantityDesired: BigNumberish;\n\n // The amount of coins offered per token.\n pricePerToken: BigNumber;\n\n // The `CurrencyValue` of the listing. Useful for displaying the price information.\n currencyValue: CurrencyValue;\n\n // The currency contract address of the offer token.\n currencyContractAddress: string;\n} | undefined;\n```" + } + ] + }, + { + "tag": "@marketplace", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/src/evm/hooks/async/marketplace.ts", + "line": 1407, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react-core/src/evm/hooks/async/marketplace.ts#L1407" + } + ], + "parameters": [ + { + "id": 566, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": 567, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the listing to get the winning bid for.\nIf the listing cannot be found, is not an auction listing, or is not active, the " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": " property will be set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "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": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/Offer.ts", + "qualifiedName": "Offer" + }, + "name": "Offer", + "package": "@thirdweb-dev/sdk" + } + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 247, + 243, + 9, + 1076, + 986 + ] + }, + { + "title": "Type Aliases", + "children": [ + 1188, + 1141, + 1157, + 1195, + 274, + 1172, + 1178, + 1205, + 159, + 106, + 1163, + 1161, + 1192, + 1179, + 1183, + 1150, + 1155, + 1145, + 1133, + 1168, + 1162, + 876, + 202, + 278, + 1130, + 1134, + 1126, + 1136, + 466, + 1229, + 1125, + 141, + 31, + 231, + 232 + ] + }, + { + "title": "Functions", + "children": [ + 1068, + 1102, + 624, + 953, + 956, + 942, + 932, + 938, + 282, + 309, + 560, + 945, + 118, + 824, + 842, + 1049, + 572, + 959, + 107, + 126, + 486, + 576, + 828, + 921, + 768, + 764, + 608, + 612, + 600, + 124, + 120, + 299, + 304, + 490, + 909, + 483, + 475, + 287, + 384, + 60, + 66, + 403, + 434, + 416, + 420, + 442, + 365, + 454, + 935, + 595, + 590, + 772, + 949, + 68, + 502, + 523, + 535, + 554, + 74, + 527, + 568, + 543, + 557, + 628, + 861, + 927, + 851, + 494, + 519, + 531, + 551, + 961, + 968, + 616, + 620, + 359, + 580, + 808, + 812, + 901, + 777, + 803, + 782, + 1034, + 632, + 796, + 102, + 346, + 325, + 947, + 320, + 510, + 868, + 951, + 846, + 333, + 1072, + 857, + 1053, + 314, + 92, + 87, + 833, + 1042, + 1028, + 1030, + 1044, + 981, + 78, + 888, + 898, + 879, + 792, + 788, + 917, + 815, + 925, + 913, + 480, + 470, + 362, + 352, + 328, + 339, + 973, + 539, + 547, + 55, + 85, + 104, + 1226, + 564 + ] + } + ], + "packageName": "@thirdweb-dev/react-core", + "readme": [ + { + "kind": "text", + "text": "

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

\n

thirdweb React Core SDK

\n

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

\n

Proudly powering react and react-native.

\n
\n\n
\n\nYou are likely looking for [@thirdweb-dev/react](https://www.npmjs.com/package/@thirdweb-dev/react)." + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "9": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps" + }, + "10": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.supportedWallets" + }, + "11": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.dAppMeta" + }, + "12": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.autoConnect" + }, + "13": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.theme" + }, + "15": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.autoSwitch" + }, + "16": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.autoConnectTimeout" + }, + "18": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "clientId" + }, + "19": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "activeChain" + }, + "20": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "21": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "22": { + "sourceFileName": "src/core/providers/query-client.tsx", + "qualifiedName": "queryClient" + }, + "23": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "supportedChains" + }, + "24": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "sdkOptions" + }, + "25": { + "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", + "qualifiedName": "__type" + }, + "26": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "storageInterface" + }, + "27": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "authConfig" + }, + "28": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "secretKey" + }, + "29": { + "sourceFileName": "src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.TChains" + }, + "31": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "WalletIdToWalletTypeMap" + }, + "32": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "33": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.metamask" + }, + "34": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.coin98" + }, + "35": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.coinbase" + }, + "36": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.coreWallet" + }, + "37": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.rainbowWallet" + }, + "38": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.blocto" + }, + "39": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.frame" + }, + "40": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.localWallet" + }, + "41": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.magicLink" + }, + "42": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.paper" + }, + "43": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.smartWallet" + }, + "44": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.tokenBoundSmartWallet" + }, + "45": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.safe" + }, + "46": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.trust" + }, + "47": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.embeddedWallet" + }, + "48": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.walletConnect" + }, + "49": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.phantom" + }, + "50": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.walletConnectV1" + }, + "51": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.okx" + }, + "52": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.oneKey" + }, + "53": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.cryptoDefiWallet" + }, + "54": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type.rabby" + }, + "55": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallet" + }, + "56": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallet" + }, + "57": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallet" + }, + "58": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "T" + }, + "59": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "walletId" + }, + "60": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnect" + }, + "61": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnect" + }, + "62": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "63": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "64": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "I" + }, + "65": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "args" + }, + "66": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnectionStatus" + }, + "67": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnectionStatus" + }, + "68": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useCreateWalletInstance" + }, + "69": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useCreateWalletInstance" + }, + "70": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "71": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "72": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "I" + }, + "73": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "Wallet" + }, + "74": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useDisconnect" + }, + "75": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useDisconnect" + }, + "76": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "77": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "78": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSwitchChain" + }, + "79": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSwitchChain" + }, + "80": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "81": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "82": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "chain" + }, + "85": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWalletConfig" + }, + "86": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWalletConfig" + }, + "87": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectionStatus" + }, + "88": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectionStatus" + }, + "89": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "90": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "91": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "status" + }, + "92": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectedWallet" + }, + "93": { + "sourceFileName": "src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectedWallet" + }, + "94": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "95": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "__type" + }, + "96": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "wallet" + }, + "97": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "params" + }, + "102": { + "sourceFileName": "src/evm/hooks/usePersonalWalletAddress.ts", + "qualifiedName": "usePersonalWalletAddress" + }, + "103": { + "sourceFileName": "src/evm/hooks/usePersonalWalletAddress.ts", + "qualifiedName": "usePersonalWalletAddress" + }, + "104": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "useWalletConnectHandler" + }, + "105": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "useWalletConnectHandler" + }, + "106": { + "sourceFileName": "src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "ConnectionStatus" + }, + "107": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useBalance" + }, + "108": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useBalance" + }, + "109": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "tokenAddress" + }, + "110": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type" + }, + "111": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.symbol" + }, + "112": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.value" + }, + "113": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.name" + }, + "114": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.decimals" + }, + "115": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.displayValue" + }, + "118": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useAddress" + }, + "119": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useAddress" + }, + "120": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useChainId" + }, + "121": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useChainId" + }, + "124": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useChain" + }, + "125": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useChain" + }, + "126": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useBalanceForAddress" + }, + "127": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "useBalanceForAddress" + }, + "128": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "walletAddress" + }, + "129": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type" + }, + "130": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.symbol" + }, + "131": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.value" + }, + "132": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.name" + }, + "133": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.decimals" + }, + "134": { + "sourceFileName": "src/evm/hooks/wallet.ts", + "qualifiedName": "__type.displayValue" + }, + "141": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "142": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "143": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.category" + }, + "144": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.id" + }, + "145": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.meta" + }, + "146": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.create" + }, + "147": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "148": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "149": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "options" + }, + "150": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connectUI" + }, + "151": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.selectUI" + }, + "152": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.isInstalled" + }, + "153": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "154": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "155": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.personalWallets" + }, + "156": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.recommended" + }, + "157": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.isHeadless" + }, + "158": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "I" + }, + "159": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "ConnectUIProps" + }, + "160": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "161": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.hide" + }, + "162": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "163": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "164": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connected" + }, + "165": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "166": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "167": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.isOpen" + }, + "168": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.show" + }, + "169": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "170": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "171": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.goBack" + }, + "172": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "173": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "174": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.theme" + }, + "175": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.walletConfig" + }, + "176": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.selectionData" + }, + "177": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.setSelectionData" + }, + "178": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "179": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "180": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "data" + }, + "181": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.supportedWallets" + }, + "182": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.modalSize" + }, + "183": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connect" + }, + "184": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "185": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "186": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "args" + }, + "187": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.setConnectionStatus" + }, + "188": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "189": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "190": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "status" + }, + "191": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connectionStatus" + }, + "192": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.setConnectedWallet" + }, + "193": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "194": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "195": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "walletInstance" + }, + "196": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.createWalletInstance" + }, + "197": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "198": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "199": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connectedWallet" + }, + "200": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connectedWalletAddress" + }, + "201": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "I" + }, + "202": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "SelectUIProps" + }, + "203": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "204": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.onSelect" + }, + "205": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "206": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "207": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "selectionData" + }, + "208": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.walletConfig" + }, + "209": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.supportedWallets" + }, + "210": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.theme" + }, + "211": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.modalSize" + }, + "212": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connect" + }, + "213": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "214": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "215": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "args" + }, + "216": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.setConnectionStatus" + }, + "217": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "218": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "219": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "status" + }, + "220": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connectionStatus" + }, + "221": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.setConnectedWallet" + }, + "222": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "223": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "224": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "walletInstance" + }, + "225": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.createWalletInstance" + }, + "226": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "227": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "228": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connectedWallet" + }, + "229": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.connectedWalletAddress" + }, + "230": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "I" + }, + "231": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "WalletInstance" + }, + "232": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "WalletOptions" + }, + "233": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "234": { + "sourceFileName": "src/core/types/wallet.ts", + "qualifiedName": "__type.chain" + }, + "243": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig" + }, + "244": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig.authUrl" + }, + "245": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig.domain" + }, + "246": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig.secureStorage" + }, + "247": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage" + }, + "248": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.getItem" + }, + "249": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.getItem" + }, + "250": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "key" + }, + "251": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.setItem" + }, + "252": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.setItem" + }, + "253": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "key" + }, + "254": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "value" + }, + "255": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.removeItem" + }, + "256": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.removeItem" + }, + "257": { + "sourceFileName": "src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "key" + }, + "274": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "ClaimIneligibilityParams" + }, + "275": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "276": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.walletAddress" + }, + "277": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.quantity" + }, + "278": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "SetClaimConditionsParams" + }, + "279": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "280": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.phases" + }, + "281": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.reset" + }, + "282": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimCondition" + }, + "283": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimCondition" + }, + "284": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "285": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "286": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "options" + }, + "287": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimerProofs" + }, + "288": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimerProofs" + }, + "289": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "290": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "claimerAddress" + }, + "291": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "292": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "claimConditionId" + }, + "293": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "294": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.address" + }, + "295": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.proof" + }, + "296": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.maxClaimable" + }, + "297": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.price" + }, + "298": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.currencyAddress" + }, + "299": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimConditions" + }, + "300": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimConditions" + }, + "301": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "302": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "303": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "options" + }, + "304": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimIneligibilityReasons" + }, + "305": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimIneligibilityReasons" + }, + "306": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "307": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "params" + }, + "308": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "309": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimConditionForWallet" + }, + "310": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimConditionForWallet" + }, + "311": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "312": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "walletAddress" + }, + "313": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "314": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useSetClaimConditions" + }, + "315": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useSetClaimConditions" + }, + "316": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "317": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "318": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "319": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.receipt" + }, + "320": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useResetClaimConditions" + }, + "321": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useResetClaimConditions" + }, + "322": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "323": { + "sourceFileName": "src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "324": { + "sourceFileName": "../sdk/src/evm/core/classes/drop-erc1155-claim-conditions.ts", + "qualifiedName": "__type" + }, + "325": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePrimarySaleRecipient" + }, + "326": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePrimarySaleRecipient" + }, + "327": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "328": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePrimarySaleRecipient" + }, + "329": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePrimarySaleRecipient" + }, + "330": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "331": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "332": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.receipt" + }, + "333": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useRoyaltySettings" + }, + "334": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useRoyaltySettings" + }, + "335": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "336": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "337": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.seller_fee_basis_points" + }, + "338": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.fee_recipient" + }, + "339": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateRoyaltySettings" + }, + "340": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateRoyaltySettings" + }, + "341": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "342": { + "sourceFileName": "../sdk/src/evm/core/classes/contract-royalty.ts", + "qualifiedName": "__type" + }, + "343": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "344": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.seller_fee_basis_points" + }, + "345": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.fee_recipient" + }, + "346": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePlatformFees" + }, + "347": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePlatformFees" + }, + "348": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "349": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "350": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.platform_fee_basis_points" + }, + "351": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.platform_fee_recipient" + }, + "352": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePlatformFees" + }, + "353": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePlatformFees" + }, + "354": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "355": { + "sourceFileName": "../sdk/src/evm/core/classes/contract-platform-fee.ts", + "qualifiedName": "__type" + }, + "356": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "357": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.platform_fee_basis_points" + }, + "358": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.fee_recipient" + }, + "359": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useMetadata" + }, + "360": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useMetadata" + }, + "361": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "362": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateMetadata" + }, + "363": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateMetadata" + }, + "364": { + "sourceFileName": "src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "365": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractType" + }, + "366": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractType" + }, + "367": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "384": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useCompilerMetadata" + }, + "385": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useCompilerMetadata" + }, + "386": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "403": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "404": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "405": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "406": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "407": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractType" + }, + "408": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "409": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "_contractType" + }, + "410": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "411": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "412": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "_abi" + }, + "413": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "414": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractAddress" + }, + "415": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "416": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadata" + }, + "417": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadata" + }, + "418": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "419": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "420": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadataUpdate" + }, + "421": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadataUpdate" + }, + "422": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "423": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "424": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.receipt" + }, + "425": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.data" + }, + "426": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "427": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "428": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "429": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.name" + }, + "430": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.description" + }, + "431": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.image" + }, + "432": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.external_link" + }, + "433": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.app_uri" + }, + "434": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractEvents" + }, + "435": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractEvents" + }, + "436": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "437": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "eventName" + }, + "438": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "options" + }, + "439": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "440": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.queryFilter" + }, + "441": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.subscribe" + }, + "442": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractRead" + }, + "443": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractRead" + }, + "444": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractAddress" + }, + "445": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "446": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractInstance" + }, + "447": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TFunctionName" + }, + "448": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TArgs" + }, + "449": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TReturnType" + }, + "450": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "451": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "functionName" + }, + "452": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "args" + }, + "453": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "overrides" + }, + "454": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractWrite" + }, + "455": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractWrite" + }, + "456": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractAddress" + }, + "457": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "458": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractInstance" + }, + "459": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TFunctionName" + }, + "460": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TArgs" + }, + "461": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "462": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "functionName" + }, + "463": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "464": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.args" + }, + "465": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.overrides" + }, + "466": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "UseContractResult" + }, + "467": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "468": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.contract" + }, + "469": { + "sourceFileName": "src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "470": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTs" + }, + "471": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTs" + }, + "472": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "473": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "queryParams" + }, + "474": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "475": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTs" + }, + "476": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTs" + }, + "477": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "478": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "queryParams" + }, + "479": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "480": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTSupply" + }, + "481": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTSupply" + }, + "482": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "483": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTSupply" + }, + "484": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTSupply" + }, + "485": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "486": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useBatchesToReveal" + }, + "487": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useBatchesToReveal" + }, + "488": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "489": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "490": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimNFT" + }, + "491": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimNFT" + }, + "492": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "493": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "494": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useLazyMint" + }, + "495": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useLazyMint" + }, + "496": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "497": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "498": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "onProgress" + }, + "499": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "500": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "501": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "progress" + }, + "502": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useDelayedRevealLazyMint" + }, + "503": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useDelayedRevealLazyMint" + }, + "504": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "505": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "506": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "onProgress" + }, + "507": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "508": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "509": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "progress" + }, + "510": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useRevealLazyMint" + }, + "511": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "useRevealLazyMint" + }, + "512": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "513": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "514": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "515": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type.receipt" + }, + "516": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type.data" + }, + "517": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "518": { + "sourceFileName": "src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "519": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListing" + }, + "520": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListing" + }, + "521": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "522": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "523": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListing" + }, + "524": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListing" + }, + "525": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "526": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "527": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuction" + }, + "528": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuction" + }, + "529": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "530": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "auctionId" + }, + "531": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListings" + }, + "532": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListings" + }, + "533": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "534": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "535": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListings" + }, + "536": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListings" + }, + "537": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "538": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "539": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidDirectListings" + }, + "540": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidDirectListings" + }, + "541": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "542": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "543": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctions" + }, + "544": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctions" + }, + "545": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "546": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "547": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidEnglishAuctions" + }, + "548": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidEnglishAuctions" + }, + "549": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "550": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "551": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListingsCount" + }, + "552": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListingsCount" + }, + "553": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "554": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListingsCount" + }, + "555": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListingsCount" + }, + "556": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "557": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionsCount" + }, + "558": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionsCount" + }, + "559": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "560": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useActiveListings" + }, + "561": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useActiveListings" + }, + "562": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "563": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "564": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useWinningBid" + }, + "565": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useWinningBid" + }, + "566": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "567": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "568": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionWinningBid" + }, + "569": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionWinningBid" + }, + "570": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "571": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "auctionId" + }, + "572": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAuctionWinner" + }, + "573": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAuctionWinner" + }, + "574": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "575": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "576": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBidBuffer" + }, + "577": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBidBuffer" + }, + "578": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "579": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "580": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMinimumNextBid" + }, + "581": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMinimumNextBid" + }, + "582": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "583": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "584": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "585": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.symbol" + }, + "586": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.value" + }, + "587": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.name" + }, + "588": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.decimals" + }, + "589": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.displayValue" + }, + "590": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateDirectListing" + }, + "591": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateDirectListing" + }, + "592": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TMarketplace" + }, + "593": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "594": { + "sourceFileName": "../sdk/src/evm/schema/marketplacev3/direct-listings.ts", + "qualifiedName": "__type" + }, + "595": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateAuctionListing" + }, + "596": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateAuctionListing" + }, + "597": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TMarketplace" + }, + "598": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "599": { + "sourceFileName": "../sdk/src/evm/schema/marketplacev3/english-auctions.ts", + "qualifiedName": "__type" + }, + "600": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelListing" + }, + "601": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelListing" + }, + "602": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "603": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "604": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "605": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "606": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "607": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "608": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelDirectListing" + }, + "609": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelDirectListing" + }, + "610": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "611": { + "sourceFileName": "../sdk/src/evm/core/classes/marketplacev3-direct-listings.ts", + "qualifiedName": "__type" + }, + "612": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelEnglishAuction" + }, + "613": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelEnglishAuction" + }, + "614": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "615": { + "sourceFileName": "../sdk/src/evm/core/classes/marketplacev3-english-auction.ts", + "qualifiedName": "__type" + }, + "616": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeBid" + }, + "617": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeBid" + }, + "618": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "619": { + "sourceFileName": "../sdk/src/evm/core/classes/internal/marketplace/marketplace-auction.ts", + "qualifiedName": "__type" + }, + "620": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeOffer" + }, + "621": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeOffer" + }, + "622": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "623": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "__type" + }, + "624": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAcceptDirectListingOffer" + }, + "625": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAcceptDirectListingOffer" + }, + "626": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "627": { + "sourceFileName": "../sdk/src/evm/core/classes/internal/marketplace/marketplace-direct.ts", + "qualifiedName": "__type" + }, + "628": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useExecuteAuctionSale" + }, + "629": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useExecuteAuctionSale" + }, + "630": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "631": { + "sourceFileName": "../sdk/src/evm/core/classes/internal/marketplace/marketplace-auction.ts", + "qualifiedName": "__type" + }, + "632": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useOffers" + }, + "633": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useOffers" + }, + "634": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "635": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "636": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object" + }, + "637": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object.data" + }, + "638": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverRefetchErrorResult.error" + }, + "639": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverRefetchErrorResult.isError" + }, + "640": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverRefetchErrorResult.isLoading" + }, + "641": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverRefetchErrorResult.isLoadingError" + }, + "642": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverRefetchErrorResult.isRefetchError" + }, + "643": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverRefetchErrorResult.isSuccess" + }, + "644": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverRefetchErrorResult.status" + }, + "645": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.dataUpdatedAt" + }, + "646": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdatedAt" + }, + "647": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureCount" + }, + "648": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureReason" + }, + "649": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdateCount" + }, + "650": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetched" + }, + "651": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetchedAfterMount" + }, + "652": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetching" + }, + "653": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isInitialLoading" + }, + "654": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPaused" + }, + "655": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPlaceholderData" + }, + "656": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPreviousData" + }, + "657": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isRefetching" + }, + "658": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isStale" + }, + "659": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.refetch" + }, + "660": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "661": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "662": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "TPageData" + }, + "663": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "options" + }, + "664": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.remove" + }, + "665": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "666": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "667": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.fetchStatus" + }, + "668": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object" + }, + "669": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object.data" + }, + "670": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverSuccessResult.error" + }, + "671": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverSuccessResult.isError" + }, + "672": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverSuccessResult.isLoading" + }, + "673": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverSuccessResult.isLoadingError" + }, + "674": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverSuccessResult.isRefetchError" + }, + "675": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverSuccessResult.isSuccess" + }, + "676": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverSuccessResult.status" + }, + "677": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.dataUpdatedAt" + }, + "678": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdatedAt" + }, + "679": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureCount" + }, + "680": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureReason" + }, + "681": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdateCount" + }, + "682": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetched" + }, + "683": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetchedAfterMount" + }, + "684": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetching" + }, + "685": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isInitialLoading" + }, + "686": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPaused" + }, + "687": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPlaceholderData" + }, + "688": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPreviousData" + }, + "689": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isRefetching" + }, + "690": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isStale" + }, + "691": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.refetch" + }, + "692": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "693": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "694": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "TPageData" + }, + "695": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "options" + }, + "696": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.remove" + }, + "697": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "698": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "699": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.fetchStatus" + }, + "700": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object" + }, + "701": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object.data" + }, + "702": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingErrorResult.error" + }, + "703": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingErrorResult.isError" + }, + "704": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingErrorResult.isLoading" + }, + "705": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingErrorResult.isLoadingError" + }, + "706": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingErrorResult.isRefetchError" + }, + "707": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingErrorResult.isSuccess" + }, + "708": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingErrorResult.status" + }, + "709": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.dataUpdatedAt" + }, + "710": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdatedAt" + }, + "711": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureCount" + }, + "712": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureReason" + }, + "713": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdateCount" + }, + "714": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetched" + }, + "715": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetchedAfterMount" + }, + "716": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetching" + }, + "717": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isInitialLoading" + }, + "718": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPaused" + }, + "719": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPlaceholderData" + }, + "720": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPreviousData" + }, + "721": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isRefetching" + }, + "722": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isStale" + }, + "723": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.refetch" + }, + "724": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "725": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "726": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "TPageData" + }, + "727": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "options" + }, + "728": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.remove" + }, + "729": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "730": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "731": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.fetchStatus" + }, + "732": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object" + }, + "733": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__object.data" + }, + "734": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingResult.error" + }, + "735": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingResult.isError" + }, + "736": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingResult.isLoading" + }, + "737": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingResult.isLoadingError" + }, + "738": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingResult.isRefetchError" + }, + "739": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingResult.isSuccess" + }, + "740": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverLoadingResult.status" + }, + "741": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.dataUpdatedAt" + }, + "742": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdatedAt" + }, + "743": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureCount" + }, + "744": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.failureReason" + }, + "745": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.errorUpdateCount" + }, + "746": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetched" + }, + "747": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetchedAfterMount" + }, + "748": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isFetching" + }, + "749": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isInitialLoading" + }, + "750": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPaused" + }, + "751": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPlaceholderData" + }, + "752": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isPreviousData" + }, + "753": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isRefetching" + }, + "754": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.isStale" + }, + "755": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.refetch" + }, + "756": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "757": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "758": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "TPageData" + }, + "759": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "options" + }, + "760": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.remove" + }, + "761": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "762": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "__type" + }, + "763": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryObserverBaseResult.fetchStatus" + }, + "764": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyNow" + }, + "765": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyNow" + }, + "766": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "767": { + "sourceFileName": "../sdk/src/evm/core/classes/internal/marketplace/marketplace-direct.ts", + "qualifiedName": "__type" + }, + "768": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyDirectListing" + }, + "769": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyDirectListing" + }, + "770": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "771": { + "sourceFileName": "../sdk/src/evm/core/classes/marketplacev3-direct-listings.ts", + "qualifiedName": "__type" + }, + "772": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateDirectListingBatch" + }, + "773": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateDirectListingBatch" + }, + "774": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TMarketplaceV3" + }, + "775": { + "sourceFileName": "src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "776": { + "sourceFileName": "../sdk/src/evm/schema/marketplacev3/direct-listings.ts", + "qualifiedName": "__type" + }, + "777": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFT" + }, + "778": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFT" + }, + "779": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "780": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "781": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "tokenId" + }, + "782": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTs" + }, + "783": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTs" + }, + "784": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "785": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "786": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "queryParams" + }, + "787": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "788": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCount" + }, + "789": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCount" + }, + "790": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "791": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "792": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCirculatingSupply" + }, + "793": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCirculatingSupply" + }, + "794": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "795": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "tokenId" + }, + "796": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useOwnedNFTs" + }, + "797": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useOwnedNFTs" + }, + "798": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "799": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "800": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "ownerWalletAddress" + }, + "801": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "queryParams" + }, + "802": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "803": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTBalance" + }, + "804": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTBalance" + }, + "805": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "806": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "ownerWalletAddress" + }, + "807": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "tokenId" + }, + "808": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFT" + }, + "809": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFT" + }, + "810": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "811": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "812": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFTSupply" + }, + "813": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFTSupply" + }, + "814": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "815": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useTransferNFT" + }, + "816": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useTransferNFT" + }, + "817": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "818": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "819": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "820": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.receipt" + }, + "821": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.data" + }, + "822": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "823": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "824": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useAirdropNFT" + }, + "825": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useAirdropNFT" + }, + "826": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "827": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "__type" + }, + "828": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useBurnNFT" + }, + "829": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useBurnNFT" + }, + "830": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "831": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "832": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "__type" + }, + "833": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useSharedMetadata" + }, + "834": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "useSharedMetadata" + }, + "835": { + "sourceFileName": "src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "842": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useAllRoleMembers" + }, + "843": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useAllRoleMembers" + }, + "844": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "845": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "846": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useRoleMembers" + }, + "847": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useRoleMembers" + }, + "848": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "849": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "850": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "role" + }, + "851": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useIsAddressRole" + }, + "852": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useIsAddressRole" + }, + "853": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "854": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "855": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "role" + }, + "856": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "walletAddress" + }, + "857": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useSetAllRoleMembers" + }, + "858": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useSetAllRoleMembers" + }, + "859": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "860": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "861": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useGrantRole" + }, + "862": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useGrantRole" + }, + "863": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "864": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "865": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "__type" + }, + "866": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "__type.role" + }, + "867": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "__type.address" + }, + "868": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useRevokeRole" + }, + "869": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "useRevokeRole" + }, + "870": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "871": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "872": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "__type" + }, + "873": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "__type.role" + }, + "874": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "__type.address" + }, + "876": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "RolesForContract" + }, + "877": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "__type" + }, + "878": { + "sourceFileName": "src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "879": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenSupply" + }, + "880": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenSupply" + }, + "881": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "882": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "883": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.symbol" + }, + "884": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.value" + }, + "885": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.name" + }, + "886": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.decimals" + }, + "887": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.displayValue" + }, + "888": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenBalance" + }, + "889": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenBalance" + }, + "890": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "891": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "walletAddress" + }, + "892": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "893": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.symbol" + }, + "894": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.value" + }, + "895": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.name" + }, + "896": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.decimals" + }, + "897": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.displayValue" + }, + "898": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenDecimals" + }, + "899": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenDecimals" + }, + "900": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "901": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useMintToken" + }, + "902": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useMintToken" + }, + "903": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "904": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "905": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.receipt" + }, + "906": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type.data" + }, + "907": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "908": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "909": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useClaimToken" + }, + "910": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useClaimToken" + }, + "911": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "912": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", + "qualifiedName": "__type" + }, + "913": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferToken" + }, + "914": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferToken" + }, + "915": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "916": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", + "qualifiedName": "__type" + }, + "917": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferBatchToken" + }, + "918": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferBatchToken" + }, + "919": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "920": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", + "qualifiedName": "__type" + }, + "921": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useBurnToken" + }, + "922": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useBurnToken" + }, + "923": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "924": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", + "qualifiedName": "__type" + }, + "925": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferNativeToken" + }, + "926": { + "sourceFileName": "src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferNativeToken" + }, + "927": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useIsAccountDeployed" + }, + "928": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useIsAccountDeployed" + }, + "929": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "930": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "admin" + }, + "931": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "extraData" + }, + "932": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccounts" + }, + "933": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccounts" + }, + "934": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "935": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useCreateAccount" + }, + "936": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useCreateAccount" + }, + "937": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "938": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccountsForAddress" + }, + "939": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccountsForAddress" + }, + "940": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "941": { + "sourceFileName": "src/evm/hooks/async/account-factory.ts", + "qualifiedName": "address" + }, + "942": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountSigners" + }, + "943": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountSigners" + }, + "944": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "contract" + }, + "945": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAddAdmin" + }, + "946": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAddAdmin" + }, + "947": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useRemoveAdmin" + }, + "948": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useRemoveAdmin" + }, + "949": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useCreateSessionKey" + }, + "950": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useCreateSessionKey" + }, + "951": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useRevokeSessionKey" + }, + "952": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useRevokeSessionKey" + }, + "953": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdmins" + }, + "954": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdmins" + }, + "955": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "contract" + }, + "956": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdminsAndSigners" + }, + "957": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdminsAndSigners" + }, + "958": { + "sourceFileName": "src/evm/hooks/async/account.ts", + "qualifiedName": "contract" + }, + "959": { + "sourceFileName": "src/evm/hooks/auth/useAuth.ts", + "qualifiedName": "useAuth" + }, + "960": { + "sourceFileName": "src/evm/hooks/auth/useAuth.ts", + "qualifiedName": "useAuth" + }, + "961": { + "sourceFileName": "src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "useLogin" + }, + "962": { + "sourceFileName": "src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "useLogin" + }, + "963": { + "sourceFileName": "src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__object" + }, + "964": { + "sourceFileName": "src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__object.login" + }, + "965": { + "sourceFileName": "src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__function" + }, + "966": { + "sourceFileName": "src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__function" + }, + "967": { + "sourceFileName": "src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__object.isLoading" + }, + "968": { + "sourceFileName": "src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "useLogout" + }, + "969": { + "sourceFileName": "src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "useLogout" + }, + "970": { + "sourceFileName": "src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "__object" + }, + "971": { + "sourceFileName": "src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "__object.logout" + }, + "972": { + "sourceFileName": "src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "__object.isLoading" + }, + "973": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "useUser" + }, + "974": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "useUser" + }, + "975": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "TData" + }, + "976": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "TContext" + }, + "977": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__object" + }, + "978": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__object.user" + }, + "979": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__object.isLoggedIn" + }, + "980": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__object.isLoading" + }, + "981": { + "sourceFileName": "src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "useSwitchAccount" + }, + "982": { + "sourceFileName": "src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "useSwitchAccount" + }, + "983": { + "sourceFileName": "src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "__object" + }, + "984": { + "sourceFileName": "src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "__object.switchAccount" + }, + "985": { + "sourceFileName": "src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "__object.isLoading" + }, + "986": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData" + }, + "987": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData.data" + }, + "988": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "__type.address" + }, + "989": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "__type.session" + }, + "990": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData.TData" + }, + "991": { + "sourceFileName": "src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData.TContext" + }, + "1028": { + "sourceFileName": "src/evm/hooks/storage/useStorage.ts", + "qualifiedName": "useStorage" + }, + "1029": { + "sourceFileName": "src/evm/hooks/storage/useStorage.ts", + "qualifiedName": "useStorage" + }, + "1030": { + "sourceFileName": "src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "useStorageUpload" + }, + "1031": { + "sourceFileName": "src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "useStorageUpload" + }, + "1032": { + "sourceFileName": "src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "T" + }, + "1033": { + "sourceFileName": "src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "uploadOptions" + }, + "1034": { + "sourceFileName": "src/evm/hooks/useNetworkMismatch.ts", + "qualifiedName": "useNetworkMismatch" + }, + "1035": { + "sourceFileName": "src/evm/hooks/useNetworkMismatch.ts", + "qualifiedName": "useNetworkMismatch" + }, + "1042": { + "sourceFileName": "src/evm/hooks/useSigner.ts", + "qualifiedName": "useSigner" + }, + "1043": { + "sourceFileName": "src/evm/hooks/useSigner.ts", + "qualifiedName": "useSigner" + }, + "1044": { + "sourceFileName": "src/evm/hooks/useSupportedChains.ts", + "qualifiedName": "useSupportedChains" + }, + "1045": { + "sourceFileName": "src/evm/hooks/useSupportedChains.ts", + "qualifiedName": "useSupportedChains" + }, + "1049": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "useAppURI" + }, + "1050": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "useAppURI" + }, + "1051": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "TContract" + }, + "1052": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "contract" + }, + "1053": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "useSetAppURI" + }, + "1054": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "useSetAppURI" + }, + "1055": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "contract" + }, + "1056": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1057": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "__type.receipt" + }, + "1058": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "__type.data" + }, + "1059": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1060": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1061": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1062": { + "sourceFileName": "src/evm/hooks/async/app.ts", + "qualifiedName": "__type.uri" + }, + "1068": { + "sourceFileName": "src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "ThirdwebSDKProvider" + }, + "1069": { + "sourceFileName": "src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "ThirdwebSDKProvider" + }, + "1070": { + "sourceFileName": "src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "TChains" + }, + "1071": { + "sourceFileName": "src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "props" + }, + "1072": { + "sourceFileName": "src/evm/hooks/useSDK.ts", + "qualifiedName": "useSDK" + }, + "1073": { + "sourceFileName": "src/evm/hooks/useSDK.ts", + "qualifiedName": "useSDK" + }, + "1076": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps" + }, + "1077": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.supportedChains" + }, + "1078": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.signer" + }, + "1079": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.sdkOptions" + }, + "1080": { + "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", + "qualifiedName": "__type" + }, + "1081": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.storageInterface" + }, + "1082": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.authConfig" + }, + "1083": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.activeChain" + }, + "1084": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "1085": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "1086": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.clientId" + }, + "1087": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.secretKey" + }, + "1088": { + "sourceFileName": "src/core/providers/query-client.tsx", + "qualifiedName": "QueryClientProviderProps.queryClient" + }, + "1089": { + "sourceFileName": "src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.TChains" + }, + "1102": { + "sourceFileName": "src/evm/utils/addresses.ts", + "qualifiedName": "shortenAddress" + }, + "1103": { + "sourceFileName": "src/evm/utils/addresses.ts", + "qualifiedName": "shortenAddress" + }, + "1104": { + "sourceFileName": "src/evm/utils/addresses.ts", + "qualifiedName": "address" + }, + "1105": { + "sourceFileName": "src/evm/utils/addresses.ts", + "qualifiedName": "extraShort" + }, + "1125": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "WalletAddress" + }, + "1126": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "TokenParams" + }, + "1127": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1128": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1129": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1130": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "TokenBurnParams" + }, + "1131": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1132": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1133": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "NFTContract" + }, + "1134": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "TokenContract" + }, + "1136": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "TransferNFTParams" + }, + "1137": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1138": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1139": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1140": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1141": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "AirdropNFTParams" + }, + "1142": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1143": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1144": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.addresses" + }, + "1145": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "MintNFTSupplyParams" + }, + "1146": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1147": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1148": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.additionalSupply" + }, + "1149": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1150": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "MintNFTParams" + }, + "1151": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1152": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.metadata" + }, + "1153": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1154": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.supply" + }, + "1155": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "MintNFTReturnType" + }, + "1156": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "TContract" + }, + "1157": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "BurnNFTParams" + }, + "1158": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1159": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1160": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1161": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "DropContract" + }, + "1162": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "RevealableContract" + }, + "1163": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "DelayedRevealLazyMintInput" + }, + "1164": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1165": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.placeholder" + }, + "1166": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.metadatas" + }, + "1167": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.password" + }, + "1168": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "RevealLazyMintInput" + }, + "1169": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1170": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.batchId" + }, + "1171": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.password" + }, + "1172": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "ClaimNFTParams" + }, + "1173": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1174": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1175": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.quantity" + }, + "1176": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.options" + }, + "1177": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1178": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "ClaimNFTReturnType" + }, + "1179": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "MakeBidParams" + }, + "1180": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1181": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1182": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.bid" + }, + "1183": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "MakeOfferParams" + }, + "1184": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1185": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1186": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.pricePerToken" + }, + "1187": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.quantity" + }, + "1188": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "AcceptDirectOffer" + }, + "1189": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1190": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1191": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.addressOfOfferor" + }, + "1192": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "ExecuteAuctionSale" + }, + "1193": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1194": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1195": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "BuyNowParams" + }, + "1196": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1197": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.id" + }, + "1198": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.type" + }, + "1199": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.buyAmount" + }, + "1200": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.buyForWallet" + }, + "1201": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1202": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.id" + }, + "1203": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.type" + }, + "1204": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "TListingType" + }, + "1205": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "ClaimTokenParams" + }, + "1206": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type" + }, + "1207": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1208": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1209": { + "sourceFileName": "src/evm/types.ts", + "qualifiedName": "__type.checkERC20Allowance" + }, + "1226": { + "sourceFileName": "src/evm/hooks/useTransactions.ts", + "qualifiedName": "useWatchTransactions" + }, + "1227": { + "sourceFileName": "src/evm/hooks/useTransactions.ts", + "qualifiedName": "useWatchTransactions" + }, + "1228": { + "sourceFileName": "src/evm/hooks/useTransactions.ts", + "qualifiedName": "watchTransactionParams" + }, + "1229": { + "sourceFileName": "src/evm/hooks/useTransactions.ts", + "qualifiedName": "UseWatchTransactionsParams" + }, + "1230": { + "sourceFileName": "src/evm/hooks/useTransactions.ts", + "qualifiedName": "__type" + }, + "1231": { + "sourceFileName": "src/evm/hooks/useTransactions.ts", + "qualifiedName": "__type.limit" + } + } +} \ No newline at end of file diff --git a/packages/react-native-compat/CHANGELOG.md b/packages/react-native-compat/CHANGELOG.md index 32b389253ad..a04301dd722 100644 --- a/packages/react-native-compat/CHANGELOG.md +++ b/packages/react-native-compat/CHANGELOG.md @@ -1,5 +1,7 @@ # @thirdweb-dev/react-native-compat +## 0.6.2 + ## 0.6.1 ## 0.6.0 diff --git a/packages/react-native-compat/package.json b/packages/react-native-compat/package.json index 51b1d9c366f..8d70e038bc0 100644 --- a/packages/react-native-compat/package.json +++ b/packages/react-native-compat/package.json @@ -1,7 +1,7 @@ { "name": "@thirdweb-dev/react-native-compat", "description": "Shims for Thirdweb in React Native Projects", - "version": "0.6.1", + "version": "0.6.2", "author": "thirdweb eng ", "repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native-compat", "license": "Apache-2.0", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index 3f98ed5dcc9..795389fed60 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,38 @@ # @thirdweb-dev/react-native +## 0.6.2 + +### Patch Changes + +- [#2182](https://github.com/thirdweb-dev/js/pull/2182) [`c4f1309d`](https://github.com/thirdweb-dev/js/commit/c4f1309dcdb599b8b5f014436bce8e63a7f5a9c6) Thanks [@iketw](https://github.com/iketw)! - Reports only react-nativec + +- [#2185](https://github.com/thirdweb-dev/js/pull/2185) [`324330d3`](https://github.com/thirdweb-dev/js/commit/324330d3549176542b05be5bede84ebd8f2684ca) Thanks [@iketw](https://github.com/iketw)! - Exports standalone ConnectEmbed UI + + Devs can now show the Connect modal UI directly into their apps. + This component will render the wallets defined in our ThirdwebProvider. + + ```tsx + { + console.log("wallet connected"); + }} + container={{ + paddingVertical: "md", + marginHorizontal: "md", + borderRadius: "md", + }} + /> + ``` + +- Updated dependencies [[`9a23de2b`](https://github.com/thirdweb-dev/js/commit/9a23de2be0c47a7a3702d65041ff654159d8e264), [`e21f7bb1`](https://github.com/thirdweb-dev/js/commit/e21f7bb171334fa3003c954060e60c1ce8c1228f)]: + - @thirdweb-dev/sdk@4.0.27 + - @thirdweb-dev/chains@0.1.64 + - @thirdweb-dev/react-core@4.3.2 + - @thirdweb-dev/wallets@2.4.2 + ## 0.6.1 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index d4788616f19..b7b3778cf92 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@thirdweb-dev/react-native", - "version": "0.6.1", + "version": "0.6.2", "repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native", "author": "thirdweb eng ", "license": "Apache-2.0", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 299d2479fe7..cca8c95fc56 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,61 @@ # @thirdweb-dev/react +## 4.3.2 + +### Patch Changes + +- [#1884](https://github.com/thirdweb-dev/js/pull/1884) [`89641e33`](https://github.com/thirdweb-dev/js/commit/89641e33784ff74c32fcbb51db72b67065ba85cb) Thanks [@tommaay](https://github.com/tommaay)! - Add prop `switchNetworkBtnTitle` to `ConnectWallet` and `Web3Button` components to allow changing the "Switch Network" label on the button which is displayed when user needs to switch the network in the connected wallet. + + ```tsx + + ``` + + ```tsx + + ``` + +- [#2193](https://github.com/thirdweb-dev/js/pull/2193) [`0efd0f9d`](https://github.com/thirdweb-dev/js/commit/0efd0f9d2626d1cb8d7a49f26b9beaa4c27bca15) Thanks [@MananTank](https://github.com/MananTank)! - add `useSetWalletModalConfig` hook to customize the ConnectWallet Modal to programmatically open the modal without using the `ConnectWallet` component along with `useSetIsWalletModalOpen` + + ```tsx + import { + useSetWalletModalConfig, + useSetIsWalletModalOpen, + } from "@thirdweb-dev/react"; + + function Example() { + const setWalletModalConfig = useSetWalletModalConfig(); + const setIsWalletModalOpen = useSetIsWalletModalOpen(); + + return ( + + ); + } + ``` + +- [#2177](https://github.com/thirdweb-dev/js/pull/2177) [`e11e645c`](https://github.com/thirdweb-dev/js/commit/e11e645c7407a37545e78bbf8976ecc31e40bee7) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump fuse.js from 6.6.2 to 7.0.0 + +- Updated dependencies [[`9a23de2b`](https://github.com/thirdweb-dev/js/commit/9a23de2be0c47a7a3702d65041ff654159d8e264), [`e21f7bb1`](https://github.com/thirdweb-dev/js/commit/e21f7bb171334fa3003c954060e60c1ce8c1228f)]: + - @thirdweb-dev/sdk@4.0.27 + - @thirdweb-dev/chains@0.1.64 + - @thirdweb-dev/react-core@4.3.2 + - @thirdweb-dev/wallets@2.4.2 + ## 4.3.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 042e85902a9..56f489ef1b5 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@thirdweb-dev/react", - "version": "4.3.1", + "version": "4.3.2", "repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react", "author": "thirdweb eng ", "license": "Apache-2.0", diff --git a/packages/react/typedoc/documentation.json b/packages/react/typedoc/documentation.json new file mode 100644 index 00000000000..2f24d325722 --- /dev/null +++ b/packages/react/typedoc/documentation.json @@ -0,0 +1,32654 @@ +{ + "id": 0, + "name": "@thirdweb-dev/react", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 1053, + "name": "VerifyOwnershipWithPaper", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/VerifyOwnershipWithPaper.tsx", + "line": 36, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/VerifyOwnershipWithPaper.tsx#L36" + } + ], + "target": 1003 + }, + { + "id": 1007, + "name": "PaperCheckoutDisplay", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 1011, + "name": "DRAWER", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Open the checkout in a drawer on the right side of the parent page with a darkened background.\n\nNOTE: Pay with Crypto is disabled in this display mode." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 38, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L38" + } + ], + "type": { + "type": "literal", + "value": "DRAWER" + } + }, + { + "id": 1012, + "name": "EMBED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Embed the checkout directly on the parent page.\n\nNOTE: Pay with Crypto is disabled in this display mode." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 45, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L45" + } + ], + "type": { + "type": "literal", + "value": "EMBED" + } + }, + { + "id": 1010, + "name": "MODAL", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Open the checkout in a modal on the parent page with a darkened background.\n\nNOTE: Pay with Crypto is disabled in this display mode." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L31" + } + ], + "type": { + "type": "literal", + "value": "MODAL" + } + }, + { + "id": 1009, + "name": "NEW_TAB", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Open the checkout in a new browser tab." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 24, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L24" + } + ], + "type": { + "type": "literal", + "value": "NEW_TAB" + } + }, + { + "id": 1008, + "name": "POPUP", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Open the checkout in a new popup centered over the parent window." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 19, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L19" + } + ], + "type": { + "type": "literal", + "value": "POPUP" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 1011, + 1012, + 1010, + 1009, + 1008 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 15, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L15" + } + ] + }, + { + "id": 960, + "name": "PayWithCryptoErrorCode", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 966, + "name": "ChainSwitchUnderway", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 25, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "There is a network switch already underway" + } + }, + { + "id": 961, + "name": "ErrorConnectingToWallet", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 20, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "Error connecting to wallet" + } + }, + { + "id": 962, + "name": "ErrorSendingTransaction", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "Something went wrong sending transaction" + } + }, + { + "id": 963, + "name": "InsufficientBalance", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "Insufficient ETH" + } + }, + { + "id": 967, + "name": "PendingSignature", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "Pending Signature" + } + }, + { + "id": 964, + "name": "TransactionCancelled", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 23, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "Transaction Cancelled" + } + }, + { + "id": 965, + "name": "WrongChain", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 24, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "Wrong Chain Detected" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 966, + 961, + 962, + 963, + 967, + 964, + 965 + ] + } + ], + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 19, + "character": 20 + } + ] + }, + { + "id": 951, + "name": "PaymentsSDKErrorCode", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 958, + "name": "AddressNotAllowed", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 16, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "This address is not on the allowlist." + } + }, + { + "id": 956, + "name": "EmailNotVerified", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 14, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "The email was unable to be verified." + } + }, + { + "id": 955, + "name": "InvalidCard", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "The card information is invalid. Please double check that the Card, CVC, and Zip code are all correct." + } + }, + { + "id": 954, + "name": "InvalidProps", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "The props you passed in to this component are not valid." + } + }, + { + "id": 959, + "name": "NoActiveClaimPhase", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "There is no active claim phase at the moment." + } + }, + { + "id": 957, + "name": "NotEnoughSupply", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "There is not enough supply to claim." + } + }, + { + "id": 952, + "name": "UserAbandonedCheckout", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "User abandoned the checkout" + } + }, + { + "id": 953, + "name": "UserLoginFailed", + "variant": "declaration", + "kind": 16, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "User login failed" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 958, + 956, + 955, + 954, + 959, + 957, + 952, + 953 + ] + } + ], + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 9, + "character": 20 + } + ] + }, + { + "id": 798, + "name": "MediaRendererProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 800, + "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": 49, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L49" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 809, + "name": "children", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 33, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L33" + } + ], + "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": 818, + "name": "SharedMediaProps.children" + } + }, + { + "id": 805, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The className to apply on the rendered element to add custom styling." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 7, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 812, + "name": "SharedMediaProps.className" + } + }, + { + "id": 808, + "name": "controls", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Show the media controls (where applicable)\n\nBy default it is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 817, + "name": "SharedMediaProps.controls" + } + }, + { + "id": 802, + "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": 57, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 804, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The CSS height property to apply on the rendered element." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 65, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L65" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 815, + "name": "SharedMediaProps.height" + } + }, + { + "id": 810, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Provide the [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the media if it is known" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 38, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 819, + "name": "SharedMediaProps.mimeType" + } + }, + { + "id": 801, + "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": 53, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L53" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 807, + "name": "requireInteraction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Require user interaction to play the media.\n\nBy default it is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 25, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 816, + "name": "SharedMediaProps.requireInteraction" + } + }, + { + "id": 799, + "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": 45, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L45" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 806, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The style to apply on the rendered element to add custom styling." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L11" + } + ], + "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": 813, + "name": "SharedMediaProps.style" + } + }, + { + "id": 803, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The CSS width property to apply on the rendered element." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 61, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L61" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 814, + "name": "SharedMediaProps.width" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 800, + 809, + 805, + 808, + 802, + 804, + 810, + 801, + 807, + 799, + 806, + 803 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 41, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L41" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 811, + "name": "SharedMediaProps", + "package": "@thirdweb-dev/react" + } + ] + }, + { + "id": 934, + "name": "MediaType", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 936, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 721, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/MediaRenderer.tsx#L721" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 935, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 720, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/MediaRenderer.tsx#L720" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 936, + 935 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 719, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/MediaRenderer.tsx#L719" + } + ] + }, + { + "id": 1054, + "name": "PaymentSuccessResult", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1055, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique ID for this purchase." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/PaymentSuccessResult.ts", + "line": 6, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/PaymentSuccessResult.ts#L6" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1055 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/PaymentSuccessResult.ts", + "line": 2, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/PaymentSuccessResult.ts#L2" + } + ] + }, + { + "id": 991, + "name": "PaymentsProviderProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 993, + "name": "appName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 24, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 992, + "name": "chainName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 23, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L23" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../payments/src/constants/blockchain.ts", + "qualifiedName": "SupportedChainName" + }, + "name": "SupportedChainName", + "package": "@thirdweb-dev/payments" + } + }, + { + "id": 994, + "name": "clientId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 25, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 993, + 992, + 994 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 22, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L22" + } + ] + }, + { + "id": 811, + "name": "SharedMediaProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 818, + "name": "children", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 33, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L33" + } + ], + "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": 812, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The className to apply on the rendered element to add custom styling." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 7, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 817, + "name": "controls", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Show the media controls (where applicable)\n\nBy default it is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 815, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The CSS height property to apply on the rendered element." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 19, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 819, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Provide the [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the media if it is known" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 38, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 816, + "name": "requireInteraction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Require user interaction to play the media.\n\nBy default it is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 25, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 813, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The style to apply on the rendered element to add custom styling." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L11" + } + ], + "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" + } + }, + { + "id": 814, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The CSS width property to apply on the rendered element." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 818, + 812, + 817, + 815, + 819, + 816, + 813, + 814 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 3, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L3" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 798, + "name": "MediaRendererProps" + }, + { + "type": "reference", + "target": 937, + "name": "ThirdwebNftMediaProps" + } + ] + }, + { + "id": 937, + "name": "ThirdwebNftMediaProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 946, + "name": "children", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 33, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L33" + } + ], + "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": 818, + "name": "SharedMediaProps.children" + } + }, + { + "id": 942, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The className to apply on the rendered element to add custom styling." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 7, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 812, + "name": "SharedMediaProps.className" + } + }, + { + "id": 945, + "name": "controls", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Show the media controls (where applicable)\n\nBy default it is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 817, + "name": "SharedMediaProps.controls" + } + }, + { + "id": 941, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "CSS height of the media" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 18, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/NftMedia.tsx#L18" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 815, + "name": "SharedMediaProps.height" + } + }, + { + "id": 938, + "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": 10, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/NftMedia.tsx#L10" + } + ], + "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": 939, + "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": 947, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Provide the [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the media if it is known" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 38, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 819, + "name": "SharedMediaProps.mimeType" + } + }, + { + "id": 944, + "name": "requireInteraction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Require user interaction to play the media.\n\nBy default it is set to " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 25, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 816, + "name": "SharedMediaProps.requireInteraction" + } + }, + { + "id": 943, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The style to apply on the rendered element to add custom styling." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/types.ts#L11" + } + ], + "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": 813, + "name": "SharedMediaProps.style" + } + }, + { + "id": 940, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "CSS width of the media" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 14, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/NftMedia.tsx#L14" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 814, + "name": "SharedMediaProps.width" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 946, + 942, + 945, + 941, + 938, + 947, + 944, + 943, + 940 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 6, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/NftMedia.tsx#L6" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 811, + "name": "SharedMediaProps", + "package": "@thirdweb-dev/react" + } + ] + }, + { + "id": 792, + "name": "ThirdwebProviderProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 796, + "name": "locale", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "locale object contains text used for all thirdweb components\n\nit allows you to change the language used in UI components or override the texts used in the UI\n\nReact SDK comes out of the box with Spanish and Japanese locale functions, but you can add support for any language you want just by passing an object with the required strings" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "## Using Built-in Locales\n\n### Using the Spanish locale\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, es } from \"@thirdweb-dev/react\";\n\nconst spanish = es();\n\n \n```" + }, + { + "kind": "text", + "text": "\n\n### Using the Japanese locale\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, jp } from \"@thirdweb-dev/react\";\n\nconst japanese = jp();\n\n \n```" + }, + { + "kind": "text", + "text": "\n\n### Using English locale ( default )\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, en } from \"@thirdweb-dev/react\";\n\nconst english = en();\n\n \n```" + }, + { + "kind": "text", + "text": "\n\n## Overriding the locale\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, en } from \"@thirdweb-dev/react\";\n\n// override some texts\nconst english = en({\n connectWallet: {\n confirmInWallet: \"Confirm in your wallet\",\n },\n wallets: {\n metamaskWallet: {\n connectionScreen: {\n inProgress: \"Awaiting Confirmation\",\n instruction: \"Accept connection request in your MetaMask wallet\",\n },\n },\n },\n});\n\n\n \n;\n\n```" + }, + { + "kind": "text", + "text": "\n\n### Custom locale object\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\n\n \n;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 157, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L157" + } + ], + "type": { + "type": "reference", + "target": 228, + "name": "ThirdwebLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 795, + "name": "signer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Use a signer instead of " + }, + { + "kind": "code", + "text": "`supportedWallets`" + }, + { + "kind": "text", + "text": " if you want to provide your own wallet connection logic." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 80, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L80" + } + ], + "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": 793, + "name": "supportedWallets", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Wallets supported by the dApp\n\nIf no wallets are provided, the default wallets will be used which is equivalent to the following:\n\n" + }, + { + "kind": "code", + "text": "```tsx\n[\n metamaskWallet(),\n coinbaseWallet(),\n walletConnect(),\n trustWallet(),\n rainbowWallet(),\n zerionWallet(),\n phantomWallet(),\n]\n```" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { metamaskWallet, coinbaseWallet, walletConnect } from \"@thirdweb-dev/react\";\n\n\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 54, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L54" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 794, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the theme for all thirdweb components\n\nBy default it is set to \"dark\".\n\ntheme can be set to either \"dark\" or \"light\" or a custom theme object.\n\nYou can also import " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " functions from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/react`" + }, + { + "kind": "text", + "text": " to use the default themes as base and overrides parts of it." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nimport { lightTheme } from \"@thirdweb-dev/react\";\nconst customTheme = lightTheme({\n colors: {\n modalBg: 'red'\n }\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 75, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L75" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "ThemeObjectOrType" + }, + "name": "ThemeObjectOrType", + "package": "@thirdweb-dev/react" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 796, + 795, + 793, + 794 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 20, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L20" + } + ], + "typeParameters": [ + { + "id": 797, + "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.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + ], + "name": "ThirdwebProviderCoreProps", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "createWalletStorage" + }, + { + "type": "literal", + "value": "supportedWallets" + }, + { + "type": "literal", + "value": "theme" + }, + { + "type": "literal", + "value": "signerWallet" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + ] + }, + { + "id": 723, + "name": "Web3ButtonProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 739, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The logic to execute when the button is clicked.\n\nThe contract instance is available as the first argument of the function for you to interact with.\n\nIf the action you are performing is async, make sure to return a Promise from the action function so that the SDK knows when the action is complete" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n contract.erc721.claim(1)}\n>\n Claim NFT\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 95, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L95" + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TActionFn", + "refersToTypeParameter": true + } + }, + { + "id": 724, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the class to apply to the button for adding custom styles" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\nClaim NFT\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 42, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L42" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 743, + "name": "connectWallet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Web3Button renders a [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) if no wallet is connected. You can pass props for that component by passing a " + }, + { + "kind": "code", + "text": "`connectWallet`" + }, + { + "kind": "text", + "text": " prop to Web3Button" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n contract.erc721.claim(1)}\n>\n Claim NFT\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 125, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L125" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 744, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 749, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 152, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L152" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 750, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 751, + "name": "loginOptional", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 153, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L153" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 752, + "name": "onLogin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 154, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L154" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 753, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 154, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L154" + } + ], + "signatures": [ + { + "id": 754, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 154, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L154" + } + ], + "parameters": [ + { + "id": 755, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 756, + "name": "onLogout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 155, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L155" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 757, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 155, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L155" + } + ], + "signatures": [ + { + "id": 758, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 155, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L155" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 751, + 752, + 756 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 152, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L152" + } + ] + } + } + }, + { + "id": 746, + "name": "btnTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "text to render in ConnectWallet button\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"Connect Wallet\"`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 136, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L136" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 745, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The class to apply to the ConnectWallet component for adding custom styles" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 129, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L129" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "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.\n\nBy default it is set to " + }, + { + "kind": "code", + "text": "`\"wide\"`" + }, + { + "kind": "text", + "text": " for desktop" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 170, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L170" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "compact" + }, + { + "type": "literal", + "value": "wide" + } + ] + } + }, + { + "id": 747, + "name": "modalTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "title of the [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal.\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"Connect\"`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 143, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L143" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 748, + "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/evm/components/Web3Button/index.tsx", + "line": 150, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L150" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "privacyPolicyUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If provided, ConnectWallet Modal will show a Privacy Policy message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 180, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L180" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 759, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "apply custom styles to ConnectWallet button element" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 161, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L161" + } + ], + "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" + } + }, + { + "id": 761, + "name": "termsOfServiceUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If provided, ConnectWallet Modal will show a Terms of Service message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 175, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L175" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 763, + "name": "welcomeScreen", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Customize the welcome screen of the ConnectWallet Modal\n\nEither 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" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 187, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L187" + } + ], + "type": { + "type": "reference", + "target": 632, + "name": "WelcomeScreen", + "package": "@thirdweb-dev/react" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 749, + 746, + 745, + 760, + 747, + 748, + 762, + 759, + 761, + 763 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 125, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L125" + } + ] + } + } + }, + { + "id": 726, + "name": "contractAbi", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The [Application Binary Interface](https://docs.soliditylang.org/en/v0.8.17/abi-spec.html) (ABI) of the contract.\n\nThis is only required if you have not imported your contract to the [thirdweb dashboard](https://thirdweb.com/dashboard)." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 54, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L54" + } + ], + "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" + } + }, + { + "id": 725, + "name": "contractAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the contract\n\nIf you have not imported your contract to [thirdweb dashboard](https://thirdweb.com/dashboard), you must additionally specify the contractAbi prop." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 48, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L48" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "isDisabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the button should be disabled or not\n\nThe button is disabled and shows a spinner when the transaction is executing." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 76, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 731, + "name": "onError", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 64, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L64" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 64, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L64" + } + ], + "signatures": [ + { + "id": 733, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback function to be run when the contract method call fails." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 64, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L64" + } + ], + "parameters": [ + { + "id": 734, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "error thrown when running given " + }, + { + "kind": "code", + "text": "`action`" + }, + { + "kind": "text", + "text": " function" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 735, + "name": "onSubmit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 69, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L69" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 736, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 69, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L69" + } + ], + "signatures": [ + { + "id": 737, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback function to be run after the user has confirmed the transaction.\nIt is called just before the " + }, + { + "kind": "code", + "text": "`action`" + }, + { + "kind": "text", + "text": " function is called" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 69, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L69" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 727, + "name": "onSuccess", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 59, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L59" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 728, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 59, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L59" + } + ], + "signatures": [ + { + "id": 729, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback function to be run when the contract method call is successful." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 59, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L59" + } + ], + "parameters": [ + { + "id": 730, + "name": "result", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "value returned from given " + }, + { + "kind": "code", + "text": "`action`" + }, + { + "kind": "text", + "text": " function when it is called" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TActionFn", + "refersToTypeParameter": true + } + ], + "name": "ReturnType", + "package": "typescript" + } + ], + "name": "Awaited", + "package": "typescript" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 742, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The style to apply to the button element" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 110, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L110" + } + ], + "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" + } + }, + { + "id": 764, + "name": "switchNetworkBtnTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set a custom label for the \"Switch Network\" button" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 193, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L193" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 741, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The theme to use for the button" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 105, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L105" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "light" + }, + { + "type": "literal", + "value": "dark" + }, + { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + ] + } + }, + { + "id": 740, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "button element's " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": " attribute" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 100, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L100" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "button" + }, + { + "type": "literal", + "value": "reset" + }, + { + "type": "literal", + "value": "submit" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 739, + 724, + 743, + 726, + 725, + 738, + 731, + 735, + 727, + 742, + 764, + 741, + 740 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 31, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L31" + } + ], + "typeParameters": [ + { + "id": 765, + "name": "TActionFn", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 766, + "name": "ActionFn", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 766, + "name": "ActionFn", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 27, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L27" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 767, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 27, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L27" + } + ], + "signatures": [ + { + "id": 768, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 769, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + }, + { + "id": 35, + "name": "BloctoWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 7, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L7" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 36, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 37, + "name": "appId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "To get advanced features and support from Blocto, you can create an appId from [blocto dashboard](https://docs.blocto.app/blocto-sdk/register-app-id)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 38, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 16, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L16" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 37, + 38 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 7, + "character": 40, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L7" + } + ] + } + } + }, + { + "id": 1060, + "name": "ClaimedToken", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 14, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L14" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1061, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1063, + "name": "collectionTitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the collection." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 23, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L23" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1062, + "name": "contractAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the NFT contract." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 18, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L18" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1071, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 56, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L56" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1072, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1074, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the NFT" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 65, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L65" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1075, + "name": "image", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An image representing the NFT." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 70, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L70" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1073, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the NFT in the collection." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 60, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L60" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1076, + "name": "properties", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Arbitrary properties (i.e. traits) describing the NFT." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 75, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L75" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "object" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1074, + 1075, + 1073, + 1076 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 56, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L56" + } + ] + } + } + }, + { + "id": 1064, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the token in the collection that was claimed.\nFor ERC-721 collections, this ID is unique for each claim.\nFor ERC-1155 collections, this ID is identical for all buyers of this NFT token." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 30, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1065, + "name": "transactions", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 32, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L32" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1066, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1068, + "name": "claimExplorerUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The blockchain explorer URL for the claim transaction." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 41, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L41" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1067, + "name": "claimHash", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The transaction hash for the claim transaction." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 36, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1070, + "name": "transferExplorerUrl", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The blockchain explorer URL for the transfer transaction.\nThis hash is undefined if the claim directly sent the token to the buyer's wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 53, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L53" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1069, + "name": "transferHash", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The transaction hash for the transfer transaction.\nThis hash is undefined if the claim directly sent the token to the buyer's wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 47, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L47" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1068, + 1067, + 1070, + 1069 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 32, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L32" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1063, + 1062, + 1071, + 1064, + 1065 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 14, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L14" + } + ] + } + } + }, + { + "id": 172, + "name": "Coin98WalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx", + "line": 19, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx#L19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 173, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 174, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting Coin98 using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx", + "line": 26, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 175, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 174, + 175 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx", + "line": 19, + "character": 40, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx#L19" + } + ] + } + } + }, + { + "id": 42, + "name": "CoinbaseWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 16, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L16" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 44, + "name": "qrmodal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to use the Coinbase's default QR Code modal or show the custom UI in ConnectWallet Modal\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"custom\"`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 22, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L22" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "coinbase" + }, + { + "type": "literal", + "value": "custom" + } + ] + } + }, + { + "id": 45, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 27, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L27" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 44, + 45 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 16, + "character": 42, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L16" + } + ] + } + } + }, + { + "id": 663, + "name": "ConnectEmbedProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 32, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L32" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 664, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 670, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enforce that users must sign in with their wallet using [auth](https://portal.thirdweb.com/auth) after connecting their wallet.\n\nThis requires the " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " prop to be set on the [" + }, + { + "kind": "code", + "text": "`ThirdWebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) component." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 79, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L79" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 671, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 672, + "name": "loginOptional", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "specify whether signing in is optional or not.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " ( sign in is required ) if " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdWebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 85, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L85" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 673, + "name": "onLogin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 89, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L89" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 89, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L89" + } + ], + "signatures": [ + { + "id": 675, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called after user signs in with their wallet" + } + ] + }, + "parameters": [ + { + "id": 676, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 677, + "name": "onLogout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 93, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L93" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 678, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 93, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L93" + } + ], + "signatures": [ + { + "id": 679, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called after user signs out" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 672, + 673, + 677 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 79, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L79" + } + ] + } + } + }, + { + "id": 665, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Class name to be added to the root element of ConnectEmbed" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 36, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 680, + "name": "onConnect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 120, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L120" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 681, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 120, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L120" + } + ], + "signatures": [ + { + "id": 682, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called on successful connection of wallet\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n console.log(\"wallet connected\")\n }}\n/>\n```" + }, + { + "kind": "text", + "text": "\n\nNote that this does not include the sign in, If you want to call a callback after user connects AND signs in with their wallet, use " + }, + { + "kind": "code", + "text": "`auth.onLogin`" + }, + { + "kind": "text", + "text": " prop instead\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n console.log(\"wallet connected and signed in\")\n }\n }}\n/>\n```" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 669, + "name": "privacyPolicyUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If provided, Embed will show a Privacy Policy message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 72, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L72" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 667, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "CSS styles to be applied to the root element of ConnectEmbed" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 62, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L62" + } + ], + "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": 668, + "name": "termsOfServiceUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If provided, Embed will show a Terms of Service message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 67, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 666, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "theme for the ConnectEmbed\n\nIf a theme is set on the [" + }, + { + "kind": "code", + "text": "`ThirdWebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) component, it will be used as the default theme for all thirdweb components, else the default will be \"dark\"\n\ntheme can be set to either \"dark\" or \"light\" or a custom theme object.\n\nYou can also import " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " functions from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/react`" + }, + { + "kind": "text", + "text": " to use the default themes as base and overrides parts of it." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nimport { lightTheme } from \"@thirdweb-dev/react\";\nconst customTheme = lightTheme({\n colors: {\n modalBg: 'red'\n }\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 57, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L57" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + }, + { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 670, + 665, + 680, + 669, + 667, + 668, + 666 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 32, + "character": 32, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L32" + } + ] + } + } + }, + { + "id": 595, + "name": "ConnectWalletProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 38, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L38" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 596, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 607, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enforce that users must sign in with their wallet using [auth](https://portal.thirdweb.com/wallets/auth) after connecting their wallet.\n\nThis requires the " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " prop to be set on the [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) component." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 141, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L141" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 608, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 609, + "name": "loginOptional", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "specify whether signing in is optional or not.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " ( sign in required ) if " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 147, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L147" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 610, + "name": "onLogin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 151, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L151" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 611, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 151, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L151" + } + ], + "signatures": [ + { + "id": 612, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called after user signs in with their wallet" + } + ] + }, + "parameters": [ + { + "id": 613, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 614, + "name": "onLogout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 155, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L155" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 615, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 155, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L155" + } + ], + "signatures": [ + { + "id": 616, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called after user signs out" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 609, + 610, + 614 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 141, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L141" + } + ] + } + } + }, + { + "id": 599, + "name": "btnTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "set custom label for the button.\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"Connect\"`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 80, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L80" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 597, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "CSS class to apply to the button element\n\nFor some CSS properties, you may need to use the !important to override the default styles\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 48, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L48" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 603, + "name": "detailsBtn", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 118, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L118" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 604, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 118, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L118" + } + ], + "signatures": [ + { + "id": 605, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Render a custom button to display connected wallet details instead of the default one\n\n" + }, + { + "kind": "code", + "text": "```tsx\nconst address = useAddress();\n\n {\n return (\n \n )\n }}\n/>\n```" + } + ] + }, + "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": 626, + "name": "displayBalanceToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Display the balance of a token instead of the native token in ConnectWallet details button." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { Base } from \"@thirdweb-dev/chains\";\n\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 305, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L305" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 606, + "name": "dropdownPosition", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When user connects the wallet using ConnectWallet Modal, a \"Details Button\" is rendered. Clicking on this button opens a dropdown which opens in a certain direction relative to the Details button.\n\n" + }, + { + "kind": "code", + "text": "`dropdownPosition`" + }, + { + "kind": "text", + "text": " prop allows you to customize the direction the dropdown should open relative to the Details button.\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 134, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L134" + } + ], + "type": { + "type": "reference", + "target": 715, + "name": "DropDownPosition", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 628, + "name": "hideDisconnect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hide the \"Disconnect Wallet\" button in the ConnectWallet Dropdown.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 329, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L329" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 627, + "name": "hideSwitchToPersonalWallet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hide the \"Switch to Personal wallet\" option in the wallet modal which is shown when wallet is connected to either Smart Wallet or Safe.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 317, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L317" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 619, + "name": "hideTestnetFaucet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hide the \"Request Testnet funds\" link in ConnectWallet dropdown which is shown when user is connected to a testnet.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 181, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L181" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 621, + "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\n\nBy default it is " + }, + { + "kind": "code", + "text": "`\"wide\"`" + }, + { + "kind": "text", + "text": " for desktop." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 201, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L201" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "compact" + }, + { + "type": "literal", + "value": "wide" + } + ] + } + }, + { + "id": 601, + "name": "modalTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Change the title of ConnectWallet Modal\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"Connect\"`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 92, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L92" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 602, + "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": 99, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L99" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 618, + "name": "networkSelector", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "customize the Network selector shown" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 166, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L166" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 686, + "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": 629, + "name": "onConnect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 355, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L355" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 630, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 355, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L355" + } + ], + "signatures": [ + { + "id": 631, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called on successful connection of wallet\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n console.log(\"wallet connected\")\n }}\n/>\n```" + }, + { + "kind": "text", + "text": "\n\nNote that this does not include the sign in, If you want to call a callback after user connects AND signs in with their wallet, use " + }, + { + "kind": "code", + "text": "`auth.onLogin`" + }, + { + "kind": "text", + "text": " prop instead\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n console.log(\"wallet connected and signed in\")\n }\n }}\n/>\n```" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 623, + "name": "privacyPolicyUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL of the \"privacy policy\" page\n\nIf provided, Modal will show a Privacy Policy message at the bottom with below link" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 225, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L225" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 617, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "CSS styles to apply to the button element" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 161, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L161" + } + ], + "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": 625, + "name": "supportedTokens", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Customize the tokens shown in the \"Send Funds\" screen for various networks.\n\nBy default, The \"Send Funds\" screen shows a few popular tokens for default chains and the native token. For other chains it only shows the native token." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "supportedTokens prop allows you to customize this list as shown below which shows \"Dai Stablecoin\" when users wallet is connected to the \"Base\" mainnet.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ConnectWallet } from '@thirdweb-dev/react';\nimport { Base } from '@thirdweb-dev/chains';\n\nfunction Example() {\n return (\n\t\t\n\t);\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 289, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L289" + } + ], + "type": { + "type": "reference", + "target": 915, + "name": "SupportedTokens", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 600, + "name": "switchNetworkBtnTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set a custom label for the \"Switch Network\" button" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 85, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L85" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 620, + "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": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\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.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 192, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L192" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 622, + "name": "termsOfServiceUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL of the \"terms of service\" page\n\nIf provided, Modal will show a Terms of Service message at the bottom with below link" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 213, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L213" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 598, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the theme for the button and modal.\n\nBy default it is set to \"dark\" if " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " is not set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\nIf a " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) then that theme will be used by default which can be overridden by setting " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " prop on [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component\n\ntheme can be set to either \"dark\" or \"light\" or a custom theme object. You can also import " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " functions from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/react`" + }, + { + "kind": "text", + "text": " to use the default themes as base and overrides parts of it." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nimport { lightTheme } from \"@thirdweb-dev/react\";\nconst customTheme = lightTheme({\n colors: {\n modalBg: 'red'\n }\n})\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 68, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L68" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + }, + { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + ] + } + }, + { + "id": 624, + "name": "welcomeScreen", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Customize the welcome screen. This prop is only applicable when modalSize prop is set to \"wide\". On \"wide\" Modal size, a welcome screen is shown on the right side of the modal.\n\nThis screen can be customized in two ways\n\n#### 1. Customize Metadata and Image\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n#### 2. Render Custom Component\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n return \n}}\n/>\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 256, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L256" + } + ], + "type": { + "type": "reference", + "target": 632, + "name": "WelcomeScreen", + "package": "@thirdweb-dev/react" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 607, + 599, + 597, + 603, + 626, + 606, + 628, + 627, + 619, + 621, + 601, + 602, + 618, + 629, + 623, + 617, + 625, + 600, + 620, + 622, + 598, + 624 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 38, + "character": 33, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L38" + } + ] + } + } + }, + { + "id": 151, + "name": "CoreWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx", + "line": 23, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx#L23" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 152, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 153, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting Core using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx", + "line": 30, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 154, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx", + "line": 35, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 153, + 154 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx", + "line": 23, + "character": 38, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx#L23" + } + ] + } + } + }, + { + "id": 158, + "name": "CryptoDefiWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx", + "line": 23, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx#L23" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 160, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting Defi wallet using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx", + "line": 30, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 161, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx", + "line": 35, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 160, + 161 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx", + "line": 23, + "character": 44, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx#L23" + } + ] + } + } + }, + { + "id": 791, + "name": "DefaultChains", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of default supported chains by the thirdweb SDK" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 163, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L163" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "defaultChains" + }, + "name": "defaultChains", + "package": "@thirdweb-dev/chains" + } + } + }, + { + "id": 715, + "name": "DropDownPosition", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Details.tsx", + "line": 78, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Details.tsx#L78" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 716, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 718, + "name": "align", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Details.tsx", + "line": 80, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Details.tsx#L80" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "start" + }, + { + "type": "literal", + "value": "center" + }, + { + "type": "literal", + "value": "end" + } + ] + } + }, + { + "id": 717, + "name": "side", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Details.tsx", + "line": 79, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Details.tsx#L79" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "top" + }, + { + "type": "literal", + "value": "bottom" + }, + { + "type": "literal", + "value": "left" + }, + { + "type": "literal", + "value": "right" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 718, + 717 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Details.tsx", + "line": 78, + "character": 31, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Details.tsx#L78" + } + ] + } + } + }, + { + "id": 49, + "name": "EmbeddedWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/types.ts", + "line": 11, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/types.ts#L11" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/embedded-wallet/types.ts", + "qualifiedName": "EmbeddedWalletAdditionalOptions" + }, + "name": "EmbeddedWalletAdditionalOptions", + "package": "@thirdweb-dev/wallets" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "chain" + }, + { + "type": "literal", + "value": "clientId" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 50, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 52, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Choose which auth providers to show in the wallet connection UI\n\nBy default, all auth methods are enabled, which is equivalent to setting the following:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n options: [\"email\", \"google\", \"apple\", \"facebook\"]\n}\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/types.ts", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/types.ts#L31" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 54, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/types.ts", + "line": 32, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/types.ts#L32" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/embeddedWallet/types.ts", + "qualifiedName": "AuthOption" + }, + "name": "AuthOption", + "package": "@thirdweb-dev/react" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 54 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/types.ts", + "line": 31, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/types.ts#L31" + } + ] + } + } + }, + { + "id": 51, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/types.ts", + "line": 18, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/types.ts#L18" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 52, + 51 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/types.ts", + "line": 14, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/types.ts#L14" + } + ] + } + } + ] + } + }, + { + "id": 536, + "name": "ExtensionAndQRScreensLocale", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@locale", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 4, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L4" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 537, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 538, + "name": "connectionScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 5, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L5" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 539, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 540, + "name": "failed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 6, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L6" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 541, + "name": "inProgress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 542, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 8, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 543, + "name": "retry", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 9, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L9" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 540, + 541, + 542, + 543 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 5, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L5" + } + ] + } + } + }, + { + "id": 544, + "name": "getStartedLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 545, + "name": "getStartedScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 12, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L12" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 546, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 547, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 12, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L12" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 547 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 12, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L12" + } + ] + } + } + }, + { + "id": 548, + "name": "scanScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 13, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L13" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 549, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 550, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 13, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L13" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 550 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 13, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L13" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 538, + 544, + 545, + 548 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 4, + "character": 42, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L4" + } + ] + } + } + }, + { + "id": 58, + "name": "FrameWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", + "line": 8, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L8" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 60, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", + "line": 12, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L12" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 60 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", + "line": 8, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L8" + } + ] + } + } + }, + { + "id": 64, + "name": "LocalWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/localWallet/types.ts", + "line": 7, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/localWallet/types.ts#L7" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 65, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 66, + "name": "persist", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the encrypted wallet JSON will be stored on localStorage with user's password.\nthe user will not need to enter their password again when they visit the site. Because of this, the wallet can not be auto connected.\n\nIf " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ", wallet will not be stored, and no password will be required to connect.\nthe wallet will be lost when the user leaves or reloads the page.\n\nBy default, it is set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/localWallet/types.ts", + "line": 17, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/localWallet/types.ts#L17" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 66 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/localWallet/types.ts", + "line": 7, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/localWallet/types.ts#L7" + } + ] + } + } + }, + { + "id": 977, + "name": "Locale", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/constants/style.d.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "es" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "zh" + } + ] + } + }, + { + "id": 70, + "name": "MagicWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 47, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/magic/magicLink.tsx#L47" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/magic.ts", + "qualifiedName": "MagicLinkAdditionalOptions" + }, + "name": "MagicLinkAdditionalOptions", + "package": "@thirdweb-dev/wallets" + }, + { + "type": "reflection", + "declaration": { + "id": 71, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 72, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 51, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/magic/magicLink.tsx#L51" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 72 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 47, + "character": 68, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/magic/magicLink.tsx#L47" + } + ] + } + } + ] + } + }, + { + "id": 76, + "name": "MetamaskWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 13, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L13" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 77, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 80, + "name": "connectionMethod", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specify how the connection to metamask app should be established if the user is on a mobile device\n\nThere are two options: \"walletconnect\" and \"browser\"\n\n1. \"walletconnect\" - User will be redirected to MetaMask app and upon successful connection, user can return back to the web page.\n2. \"browser\" - User will be redirected to MetaMask app and the web page will be opened in MetaMask browser.\n\nDefault is " + }, + { + "kind": "code", + "text": "`\"walletconnect\"`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 37, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L37" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "walletConnect" + }, + { + "type": "literal", + "value": "metamaskBrowser" + } + ] + } + }, + { + "id": 78, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting MetaMask using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 20, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L20" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 79, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 25, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 80, + 78, + 79 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 13, + "character": 42, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L13" + } + ] + } + } + }, + { + "id": 555, + "name": "ModalConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 143, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L143" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 556, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 564, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The object contains the following properties to customize the authentication\n- " + }, + { + "kind": "code", + "text": "`loginOptional`" + }, + { + "kind": "text", + "text": " - specify whether signing in is optional or not. By default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " ( Sign in is required ) if " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\n- " + }, + { + "kind": "code", + "text": "`onLogin`" + }, + { + "kind": "text", + "text": " - Callback to be called after user signs in with their wallet\n- " + }, + { + "kind": "code", + "text": "`onLogout`" + }, + { + "kind": "text", + "text": " - Callback to be called after user signs out" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 225, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L225" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 565, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 566, + "name": "loginOptional", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 226, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L226" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 567, + "name": "onLogin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 227, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L227" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 227, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L227" + } + ], + "signatures": [ + { + "id": 569, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 570, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 571, + "name": "onLogout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 228, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L228" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 572, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 228, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L228" + } + ], + "signatures": [ + { + "id": 573, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 566, + 567, + 571 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 225, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L225" + } + ] + } + } + }, + { + "id": 559, + "name": "modalSize", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "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\n\nBy default it is " + }, + { + "kind": "code", + "text": "`\"wide\"`" + }, + { + "kind": "text", + "text": " for desktop." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 173, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L173" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "wide" + }, + { + "type": "literal", + "value": "compact" + } + ] + } + }, + { + "id": 574, + "name": "onConnect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 235, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L235" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 575, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 235, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L235" + } + ], + "signatures": [ + { + "id": 576, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called on successful connection of wallet\n\nNote that this does not include the sign in, If you want to call a callback after user connects AND signs in with their wallet, use " + }, + { + "kind": "code", + "text": "`auth.onLogin`" + }, + { + "kind": "text", + "text": " instead" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 561, + "name": "privacyPolicyUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL of the \"privacy policy\" page\n\nIf provided, Modal will show a Privacy Policy message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 185, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L185" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 560, + "name": "termsOfServiceUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL of the \"terms of service\" page\n\nIf provided, Modal will show a Terms of Service message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 179, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L179" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the theme for the Modal\n\nBy default it is set to \"dark\" if " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " is not set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\nIf a " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) then that theme will be used by default\n\ntheme can be set to either " + }, + { + "kind": "code", + "text": "`\"dark\"`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`\"light\"`" + }, + { + "kind": "text", + "text": " or a custom theme object. You can also import " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " functions from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/react`" + }, + { + "kind": "text", + "text": " to use the default themes as base and overrides parts of it.\n\n" + }, + { + "kind": "code", + "text": "```ts\nimport { lightTheme } from \"@thirdweb-dev/react\";\nconst customTheme = lightTheme({\n colors: {\n modalBg: 'red'\n }\n})\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 165, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L165" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "light" + }, + { + "type": "literal", + "value": "dark" + }, + { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + ] + } + }, + { + "id": 557, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Title of the Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 147, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L147" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 563, + "name": "titleIconUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Replace the thirdweb icon next to modalTitle and set your own iconUrl" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 218, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L218" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 562, + "name": "welcomeScreen", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Customize the welcome screen. This is only applicable when " + }, + { + "kind": "code", + "text": "`modalSize`" + }, + { + "kind": "text", + "text": " is set to \"wide\".\nOn \"wide\" Modal size, a welcome screen is shown on the right side of the modal.\n\nThis screen can be customized in two ways\n\n#### 1. Customize Metadata and Image\n\n" + }, + { + "kind": "code", + "text": "```tsx\nconst welcomeScreen = {\n title: \"your title\",\n subtitle: \"your subtitle\",\n img: {\n src: \"https://your-image-url.png\",\n width: 300,\n height: 50,\n },\n}\n```" + }, + { + "kind": "text", + "text": "\n\n#### 2. Render Custom Component\n\n" + }, + { + "kind": "code", + "text": "```tsx\nconst welcomeScreen = () => {\n return \n}\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 214, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L214" + } + ], + "type": { + "type": "reference", + "target": 632, + "name": "WelcomeScreen", + "package": "@thirdweb-dev/react" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 564, + 559, + 574, + 561, + 560, + 558, + 557, + 563, + 562 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 143, + "character": 33, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L143" + } + ] + } + } + }, + { + "id": 704, + "name": "NetworkSelectorChainProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 37, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L37" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 705, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 706, + "name": "chain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "code", + "text": "`Chain`" + }, + { + "kind": "text", + "text": " object for the chain to be displayed" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 41, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L41" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + }, + { + "id": 712, + "name": "close", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 57, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L57" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 713, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 57, + "character": 10, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L57" + } + ], + "signatures": [ + { + "id": 714, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "function to close the modal" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 707, + "name": "switchChain", + "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/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L45" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 708, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 45, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L45" + } + ], + "signatures": [ + { + "id": 709, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "function to be called for switching to the given chain" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 711, + "name": "switchFailed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "flag indicating whether the SDK failed to switch to the given chain" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 53, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L53" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 710, + "name": "switching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "flag indicating whether the SDK is currently switching to the given chain" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 49, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L49" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 706, + 712, + 707, + 711, + 710 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 37, + "character": 40, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L37" + } + ] + } + } + }, + { + "id": 686, + "name": "NetworkSelectorProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 60, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L60" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 687, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 693, + "name": "chains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of chains to be displayed in the modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 94, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L94" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + }, + { + "id": 689, + "name": "onClose", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 86, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L86" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 690, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 86, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L86" + } + ], + "signatures": [ + { + "id": 691, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called when modal is closed by the user" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 701, + "name": "onCustomClick", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 118, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L118" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 702, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 118, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L118" + } + ], + "signatures": [ + { + "id": 703, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called when the \"Add Custom Network\" button is clicked\n\nThe \"Add Custom Network\" button is displayed at the bottom of the modal - only if this prop is provided" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 697, + "name": "onSwitch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 112, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L112" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 698, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 112, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L112" + } + ], + "signatures": [ + { + "id": 699, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback to be called when a chain is successfully switched" + } + ] + }, + "parameters": [ + { + "id": 700, + "name": "chain", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new chain that is switched to" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 692, + "name": "open", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specify whether the Modal should be open or closed" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 90, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L90" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 694, + "name": "popularChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of chains to be displayed under \"Popular\" section" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 98, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L98" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + }, + { + "id": 695, + "name": "recentChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Array of chains to be displayed under \"Recent\" section" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 102, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L102" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + }, + { + "id": 696, + "name": "renderChain", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override how the chain button is rendered in the Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 106, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L106" + } + ], + "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": 704, + "name": "NetworkSelectorChainProps", + "package": "@thirdweb-dev/react" + } + ], + "name": "React.FC", + "package": "@types/react" + } + }, + { + "id": 688, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Theme to use in Modal\n\nEither specify string \"dark\" or \"light\" to use the default themes, or provide a custom theme object.\n\nYou can also use " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " functions to use the default themes as base and override it." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nimport { darkTheme } from \"@thirdweb-dev/react\";\n\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 82, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L82" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + }, + { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 693, + 689, + 701, + 697, + 692, + 694, + 695, + 696, + 688 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 60, + "character": 35, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L60" + } + ] + } + } + }, + { + "id": 144, + "name": "OKXWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/okx/okxWallet.tsx", + "line": 8, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/okx/okxWallet.tsx#L8" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 145, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 146, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting OKX using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/okx/okxWallet.tsx", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/okx/okxWallet.tsx#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/okx/okxWallet.tsx", + "line": 20, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/okx/okxWallet.tsx#L20" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 146, + 147 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/okx/okxWallet.tsx", + "line": 8, + "character": 37, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/okx/okxWallet.tsx#L8" + } + ] + } + } + }, + { + "id": 919, + "name": "OneKeyWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx", + "line": 19, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx#L19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 920, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 921, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting OneKey wallet using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx", + "line": 26, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 922, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 921, + 922 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx", + "line": 19, + "character": 40, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx#L19" + } + ] + } + } + }, + { + "id": 1013, + "name": "PaperCheckoutProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 48, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L48" + } + ], + "typeParameters": [ + { + "id": 1048, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/payments/interfaces/CustomContract.ts", + "qualifiedName": "ContractType" + }, + "name": "ContractType", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/payments/interfaces/CustomContract.ts", + "qualifiedName": "CustomContractArgWrapper" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1014, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1023, + "name": "appName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 59, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L59" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1015, + "name": "checkoutId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 51, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L51" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1047, + "name": "children", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 73, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L73" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "React.ReactNode", + "package": "@types/react" + } + }, + { + "id": 1016, + "name": "display", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 52, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L52" + } + ], + "type": { + "type": "reference", + "target": 1007, + "name": "PaperCheckoutDisplay", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 1021, + "name": "eligibilityMethod", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 57, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L57" + } + ], + "type": { + "type": "reference", + "target": 978, + "name": "ReadMethodCallType", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 1018, + "name": "emailAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 54, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L54" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1022, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 58, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L58" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 1020, + "name": "mintMethod", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 56, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L56" + } + ], + "type": { + "type": "reference", + "target": 982, + "name": "WriteMethodCallType", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 1027, + "name": "onCloseCheckout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 61, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L61" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1028, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 61, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L61" + } + ], + "signatures": [ + { + "id": 1029, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 1024, + "name": "onOpenCheckout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 60, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L60" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1025, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 60, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L60" + } + ], + "signatures": [ + { + "id": 1026, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 1030, + "name": "onPaymentSuccess", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 62, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L62" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1031, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 62, + "character": 25, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L62" + } + ], + "signatures": [ + { + "id": 1032, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 1033, + "name": "result", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1054, + "name": "PaymentSuccessResult", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 1034, + "name": "onTransferSuccess", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 63, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L63" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1035, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 63, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L63" + } + ], + "signatures": [ + { + "id": 1036, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 1037, + "name": "result", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1056, + "name": "TransferSuccessResult", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 1038, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 64, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L64" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1039, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1045, + "name": "borderRadius", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 70, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L70" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1043, + "name": "colorBackground", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 68, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L68" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1042, + "name": "colorPrimary", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 67, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1044, + "name": "colorText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 69, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L69" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1046, + "name": "fontFamily", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 71, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L71" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1041, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 66, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L66" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1040, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 65, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L65" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1045, + 1043, + 1042, + 1044, + 1046, + 1041, + 1040 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 64, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L64" + } + ] + } + } + }, + { + "id": 1019, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 55, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L55" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1017, + "name": "recipientWalletAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 53, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L53" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1023, + 1015, + 1047, + 1016, + 1021, + 1018, + 1022, + 1020, + 1027, + 1024, + 1030, + 1034, + 1038, + 1019, + 1017 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 50, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L50" + } + ] + } + }, + { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + } + ], + "name": "CustomContractArgWrapper", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 972, + "name": "PaperUser", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaperUser.d.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 973, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 976, + "name": "accessCode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's access code. Will only be set if [clientId] was provided. This can be used to query about the user details." + } + ] + }, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaperUser.d.ts", + "line": 14, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 974, + "name": "emailAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email address.\nThis address is case-insensitive (i.e. different capitalizations map to the same wallet)." + } + ] + }, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaperUser.d.ts", + "line": 6, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 975, + "name": "walletAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Paper Wallet address associated with this user's email address." + } + ] + }, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaperUser.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 976, + 974, + 975 + ] + } + ], + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaperUser.d.ts", + "line": 1, + "character": 24 + } + ] + } + } + }, + { + "id": 968, + "name": "PaymentsSDKError", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 969, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 970, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An enum representing the error encountered.\nThe value is a human-readable, English message describing the error." + } + ] + }, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 6, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 951, + "name": "PaymentsSDKErrorCode", + "package": "@thirdweb-dev/payments" + }, + { + "type": "reference", + "target": 960, + "name": "PayWithCryptoErrorCode", + "package": "@thirdweb-dev/payments" + } + ] + } + }, + { + "id": 971, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 7, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 970, + 971 + ] + } + ], + "sources": [ + { + "fileName": "packages/payments/dist/declarations/src/interfaces/PaymentsSdkError.d.ts", + "line": 1, + "character": 31 + } + ] + } + } + }, + { + "id": 93, + "name": "PhantomWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", + "line": 11, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L11" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 94, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 95, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the wallet will be tagged as \"recommended\" in ConnectWallet Modal. Default is " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 95 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", + "line": 11, + "character": 41, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L11" + } + ] + } + } + }, + { + "id": 165, + "name": "RabbyWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx", + "line": 8, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx#L8" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 167, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting Rabby using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 168, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx", + "line": 20, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx#L20" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 167, + 168 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx", + "line": 8, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx#L8" + } + ] + } + } + }, + { + "id": 99, + "name": "RainbowWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 23, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L23" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 100, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 101, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting Rainbow using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 30, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 102, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 35, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 101, + 102 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 23, + "character": 41, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L23" + } + ] + } + } + }, + { + "id": 978, + "name": "ReadMethodCallType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This specifies the way a method should be called.\n\nNote that the argument names should match the argument names in your contract.\n\nExample:\n" + }, + { + "kind": "code", + "text": "```json\n {\n name: \"claim\",\n args: { _recipient: \"0x...\", _quantity: 2 }\n }\n```" + }, + { + "kind": "text", + "text": "\n\nCorresponds to the following function stub in solidity:\n" + }, + { + "kind": "code", + "text": "```solidity\nfunction claim(address _recipient, uint256 _quantity)\n```" + }, + { + "kind": "text", + "text": "\n\nFor more on the types of arguments you can pass, see ArgumentMapType" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 114, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L114" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 979, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 981, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 116, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L116" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/payments/interfaces/CustomContract.ts", + "qualifiedName": "ArgumentMapType" + }, + "name": "ArgumentMapType", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 980, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 115, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L115" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 981, + 980 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 114, + "character": 33, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L114" + } + ] + } + } + }, + { + "id": 106, + "name": "SafeWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 20, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L20" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 107, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 108, + "name": "personalWallets", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of personalWallets to show in ConnectWallet Modal to use with SafeWallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 24, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L24" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 109, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 29, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L29" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 108, + 109 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 20, + "character": 38, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L20" + } + ] + } + } + }, + { + "id": 114, + "name": "SmartWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/smartWallet/types.ts", + "line": 6, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/smartWallet/types.ts#L6" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/smart-wallet/types.ts", + "qualifiedName": "SmartWalletConfig" + }, + "name": "SmartWalletConfig", + "package": "@thirdweb-dev/wallets" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "chain" + }, + { + "type": "literal", + "value": "clientId" + }, + { + "type": "literal", + "value": "secretKey" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 915, + "name": "SupportedTokens", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 32, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L32" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2, + "name": "TokenInfo", + "package": "@thirdweb-dev/react" + } + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 182, + "name": "Theme", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@theme", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 51, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L51" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 183, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 185, + "name": "colors", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 53, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L53" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 186, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 193, + "name": "accentButtonBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 63, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L63" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 194, + "name": "accentButtonText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 64, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L64" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 189, + "name": "accentText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 56, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 211, + "name": "borderColor", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 89, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 215, + "name": "connectedButtonBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 95, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L95" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 216, + "name": "connectedButtonBgHover", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 96, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L96" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 190, + "name": "danger", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 58, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L58" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 201, + "name": "dropdownBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 74, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L74" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 204, + "name": "inputAutofillBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 79, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 200, + "name": "modalBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 73, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L73" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 192, + "name": "modalOverlayBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 61, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L61" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 195, + "name": "primaryButtonBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 66, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L66" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 196, + "name": "primaryButtonText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 67, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 187, + "name": "primaryText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 54, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L54" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 205, + "name": "scrollbarBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 80, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L80" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 197, + "name": "secondaryButtonBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 69, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L69" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 199, + "name": "secondaryButtonHoverBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 71, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L71" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 198, + "name": "secondaryButtonText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 70, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L70" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 208, + "name": "secondaryIconColor", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 85, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L85" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 209, + "name": "secondaryIconHoverBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 86, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L86" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 210, + "name": "secondaryIconHoverColor", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 87, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L87" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 188, + "name": "secondaryText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 55, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L55" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 214, + "name": "selectedTextBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 93, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L93" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 213, + "name": "selectedTextColor", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 92, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L92" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 207, + "name": "separatorLine", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 83, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L83" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 212, + "name": "skeletonBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 90, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L90" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 191, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 59, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L59" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 202, + "name": "tooltipBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 76, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 203, + "name": "tooltipText", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 77, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 206, + "name": "walletSelectorButtonHoverBg", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 81, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 193, + 194, + 189, + 211, + 215, + 216, + 190, + 201, + 204, + 200, + 192, + 195, + 196, + 187, + 205, + 197, + 199, + 198, + 208, + 209, + 210, + 188, + 214, + 213, + 207, + 212, + 191, + 202, + 203, + 206 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 53, + "character": 10, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L53" + } + ] + } + } + }, + { + "id": 217, + "name": "fontFamily", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 98, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L98" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 184, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 52, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L52" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "light" + }, + { + "type": "literal", + "value": "dark" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 185, + 217, + 184 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 51, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L51" + } + ] + } + } + }, + { + "id": 218, + "name": "ThemeOverrides", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@theme", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 161, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L161" + } + ], + "type": { + "type": "mapped", + "parameter": "key", + "parameterType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + }, + { + "type": "literal", + "value": "type" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "templateType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/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": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + } + ], + "name": "Partial", + "package": "typescript" + }, + "optionalModifier": "+" + } + }, + { + "id": 228, + "name": "ThirdwebLocale", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@locale", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 19, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 229, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 230, + "name": "connectWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 20, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L20" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 231, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 232, + "name": "agreement", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 21, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L21" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 233, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 234, + "name": "and", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 22, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L22" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 235, + "name": "prefix", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 23, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L23" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 236, + "name": "privacyPolicy", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 24, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 237, + "name": "termsOfService", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 25, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 234, + 235, + 236, + 237 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 21, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L21" + } + ] + } + } + }, + { + "id": 239, + "name": "backupWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 28, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L28" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 240, + "name": "confirmInWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 29, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L29" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 241, + "name": "connectAWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 30, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 242, + "name": "connectedToSmartWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 31, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L31" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "connecting", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 32, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L32" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 244, + "name": "continueAsGuest", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 33, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L33" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 245, + "name": "copyAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 34, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L34" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 246, + "name": "currentNetwork", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 35, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 247, + "name": "defaultButtonTitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 36, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L36" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 248, + "name": "defaultModalTitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 37, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L37" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 249, + "name": "disconnectWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 38, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 250, + "name": "download", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 39, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L39" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 251, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 252, + "name": "android", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 39, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 253, + "name": "chrome", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 39, + "character": 33, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 254, + "name": "iOS", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 39, + "character": 49, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 252, + 253, + 254 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 39, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L39" + } + ] + } + } + }, + { + "id": 255, + "name": "getStarted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 40, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L40" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 238, + "name": "goBackButton", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 27, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L27" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 256, + "name": "guest", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 41, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L41" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 257, + "name": "guestWalletWarning", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 42, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L42" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 258, + "name": "installed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 43, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L43" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 259, + "name": "networkSelector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 44, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L44" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 260, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 261, + "name": "addCustomNetwork", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 45, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L45" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 262, + "name": "allNetworks", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 46, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L46" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 263, + "name": "categoryLabel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 47, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L47" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 264, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 265, + "name": "others", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 48, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L48" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 266, + "name": "popular", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 49, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L49" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 267, + "name": "recentlyUsed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 50, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L50" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 265, + 266, + 267 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 47, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L47" + } + ] + } + } + }, + { + "id": 268, + "name": "failedToSwitch", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 52, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L52" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 269, + "name": "inputPlaceholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 53, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L53" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 270, + "name": "loading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 54, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L54" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 271, + "name": "mainnets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 55, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L55" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 272, + "name": "testnets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 56, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L56" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 273, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 57, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 261, + 262, + 263, + 268, + 269, + 270, + 271, + 272, + 273 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 44, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L44" + } + ] + } + } + }, + { + "id": 274, + "name": "newToWallets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 59, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L59" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 275, + "name": "or", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 60, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L60" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 276, + "name": "personalWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 61, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L61" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 277, + "name": "receive", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 62, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L62" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 278, + "name": "receiveFundsScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 63, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L63" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 279, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 280, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 63, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L63" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 281, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 63, + "character": 47, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L63" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 280, + 281 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 63, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L63" + } + ] + } + } + }, + { + "id": 282, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 64, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L64" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 283, + "name": "requestTestnetFunds", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 65, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L65" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 284, + "name": "send", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 66, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L66" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 285, + "name": "sendFundsScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 67, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L67" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 286, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 287, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 68, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L68" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 288, + "name": "insufficientFunds", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 69, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L69" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 289, + "name": "invalidAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 70, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L70" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 290, + "name": "noTokensFound", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 71, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L71" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 291, + "name": "searchToken", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 72, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L72" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 292, + "name": "selectTokenTitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 73, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L73" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 293, + "name": "sendTo", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 74, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L74" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 294, + "name": "sending", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 75, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L75" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 295, + "name": "submitButton", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 76, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 296, + "name": "successMessage", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 77, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 297, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 78, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L78" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 298, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 79, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 299, + "name": "transactionFailed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 80, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L80" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 300, + "name": "transactionRejected", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 81, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L81" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 67, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L67" + } + ] + } + } + }, + { + "id": 301, + "name": "signIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 83, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L83" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 302, + "name": "signatureScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 84, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L84" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 303, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 304, + "name": "instructionScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 85, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L85" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 305, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 309, + "name": "disconnectWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 89, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 306, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 86, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L86" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 307, + "name": "signInButton", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 87, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L87" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 308, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 88, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L88" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 309, + 306, + 307, + 308 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 85, + "character": 25, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L85" + } + ] + } + } + }, + { + "id": 310, + "name": "signingScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 91, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L91" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 311, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 312, + "name": "approveTransactionInSafe", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 92, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L92" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 313, + "name": "failedToSignIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 93, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L93" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 314, + "name": "inProgress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 94, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L94" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 315, + "name": "prompt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 95, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L95" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 316, + "name": "promptForSafe", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 96, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L96" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 317, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 97, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L97" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 318, + "name": "tryAgain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 98, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L98" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 312, + 313, + 314, + 315, + 316, + 317, + 318 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 91, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L91" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 304, + 310 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 84, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L84" + } + ] + } + } + }, + { + "id": 319, + "name": "smartWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 101, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L101" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 320, + "name": "switchAccount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 102, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L102" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 321, + "name": "switchNetwork", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 103, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L103" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 322, + "name": "switchTo", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 104, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L104" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 323, + "name": "switchingNetwork", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 105, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L105" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 324, + "name": "transactionHistory", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 106, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L106" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 325, + "name": "welcomeScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 107, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L107" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 327, + "name": "defaultSubtitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 107, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L107" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 328, + "name": "defaultTitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 107, + "character": 46, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L107" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 327, + 328 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 107, + "character": 19, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L107" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 232, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 255, + 238, + 256, + 257, + 258, + 259, + 274, + 275, + 276, + 277, + 278, + 282, + 283, + 284, + 285, + 301, + 302, + 319, + 320, + 321, + 322, + 323, + 324, + 325 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 20, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L20" + } + ] + } + } + }, + { + "id": 329, + "name": "wallets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 109, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L109" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 330, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 331, + "name": "coin98Wallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 110, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L110" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 332, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 333, + "name": "connectionScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 111, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L111" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 335, + "name": "failed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 112, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 336, + "name": "inProgress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 113, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L113" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 337, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 114, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L114" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 338, + "name": "retry", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 115, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L115" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 335, + 336, + 337, + 338 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 111, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L111" + } + ] + } + } + }, + { + "id": 339, + "name": "getStartedLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 117, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L117" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 340, + "name": "getStartedScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 118, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L118" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 341, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 342, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 118, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L118" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 342 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 118, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L118" + } + ] + } + } + }, + { + "id": 343, + "name": "scanScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 119, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L119" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 344, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 345, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 119, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L119" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 345 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 119, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L119" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 333, + 339, + 340, + 343 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 110, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L110" + } + ] + } + } + }, + { + "id": 346, + "name": "coinbaseWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 121, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L121" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 347, + "name": "coreWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 122, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L122" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 348, + "name": "cryptoDefiWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 123, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L123" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 349, + "name": "embeddedWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 124, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L124" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 350, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 351, + "name": "createPassword", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 125, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L125" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 352, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 353, + "name": "confirmation", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 126, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L126" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 354, + "name": "failedToSetPassword", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 127, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L127" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 355, + "name": "inputPlaceholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 128, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L128" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 356, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 129, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L129" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 357, + "name": "saveInstruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 130, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L130" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 358, + "name": "submitButton", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 131, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L131" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 359, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 132, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L132" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 353, + 354, + 355, + 356, + 357, + 358, + 359 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 125, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L125" + } + ] + } + } + }, + { + "id": 360, + "name": "emailLoginScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 134, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L134" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 361, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 362, + "name": "enterCodeSendTo", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 135, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L135" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 363, + "name": "enterRecoveryCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 136, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L136" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 364, + "name": "failedToSendCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 137, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L137" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 365, + "name": "invalidCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 138, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L138" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 366, + "name": "invalidCodeOrRecoveryCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 139, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L139" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 367, + "name": "newDeviceDetected", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 140, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L140" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 368, + "name": "resendCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 141, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L141" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 369, + "name": "sendingCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 142, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L142" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 370, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 143, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L143" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 371, + "name": "verify", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 144, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L144" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 134, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L134" + } + ] + } + } + }, + { + "id": 372, + "name": "emailPlaceholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 146, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L146" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 373, + "name": "emailRequired", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 147, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L147" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 374, + "name": "enterPassword", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 148, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L148" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 375, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 376, + "name": "inputPlaceholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 149, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L149" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 377, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 150, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L150" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 378, + "name": "submitButton", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 151, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L151" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 379, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 152, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L152" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 380, + "name": "wrongPassword", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 153, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L153" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 376, + 377, + 378, + 379, + 380 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 148, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L148" + } + ] + } + } + }, + { + "id": 381, + "name": "invalidEmail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 155, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L155" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 382, + "name": "signIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 156, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L156" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 383, + "name": "signInWithApple", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 157, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L157" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 384, + "name": "signInWithFacebook", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 158, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L158" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 385, + "name": "signInWithGoogle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 159, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L159" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 386, + "name": "socialLoginScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 160, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L160" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 387, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 388, + "name": "failed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 161, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L161" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 389, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 162, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L162" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 390, + "name": "retry", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 163, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L163" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 391, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 164, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L164" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 388, + 389, + 390, + 391 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 160, + "character": 25, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L160" + } + ] + } + } + }, + { + "id": 392, + "name": "submitEmail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 166, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L166" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 351, + 360, + 372, + 373, + 374, + 381, + 382, + 383, + 384, + 385, + 386, + 392 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 124, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L124" + } + ] + } + } + }, + { + "id": 393, + "name": "frameWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 168, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L168" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 394, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 395, + "name": "connectionFailedScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 169, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L169" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 396, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 397, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 170, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L170" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 398, + "name": "downloadFrame", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 171, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L171" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 399, + "name": "supportLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 172, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L172" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 400, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 173, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L173" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 397, + 398, + 399, + 400 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 169, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L169" + } + ] + } + } + }, + { + "id": 401, + "name": "connectionScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 175, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L175" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 402, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 403, + "name": "failed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 176, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L176" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 404, + "name": "inProgress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 177, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L177" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 405, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 178, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L178" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 406, + "name": "retry", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 179, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L179" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 403, + 404, + 405, + 406 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 175, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L175" + } + ] + } + } + }, + { + "id": 407, + "name": "getStartedLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 181, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L181" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 408, + "name": "getStartedScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 182, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L182" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 409, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 410, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 182, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L182" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 410 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 182, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L182" + } + ] + } + } + }, + { + "id": 411, + "name": "scanScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 183, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L183" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 412, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 413, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 183, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L183" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 413 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 183, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L183" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 395, + 401, + 407, + 408, + 411 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 168, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L168" + } + ] + } + } + }, + { + "id": 414, + "name": "localWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 185, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L185" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 415, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 416, + "name": "confirmPasswordLabel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 186, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L186" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 417, + "name": "createScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 187, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L187" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 418, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 419, + "name": "connecting", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 188, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L188" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 420, + "name": "createNewWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 189, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L189" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 421, + "name": "importWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 190, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L190" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 422, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 191, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L191" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 419, + 420, + 421, + 422 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 187, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L187" + } + ] + } + } + }, + { + "id": 423, + "name": "enterYourPassword", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 193, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L193" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 424, + "name": "exportScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 194, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L194" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 426, + "name": "description1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 195, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L195" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 427, + "name": "description2", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 196, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L196" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 428, + "name": "download", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 197, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L197" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 198, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L198" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "walletAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 199, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L199" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 426, + 427, + 428, + 429, + 430 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 194, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L194" + } + ] + } + } + }, + { + "id": 431, + "name": "importScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 201, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L201" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 432, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 433, + "name": "description1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 202, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L202" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "description2", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 203, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L203" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "import", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 204, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L204" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 436, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 205, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L205" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "uploadJSON", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 206, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L206" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "uploadedSuccessfully", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 207, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L207" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 433, + 434, + 435, + 436, + 437, + 438 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 201, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L201" + } + ] + } + } + }, + { + "id": 439, + "name": "passwordLabel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 209, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L209" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 440, + "name": "reconnectScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 210, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L210" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 441, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 442, + "name": "continue", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 211, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L211" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 443, + "name": "createNewWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 212, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L212" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 444, + "name": "savedWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 213, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L213" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 445, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 214, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L214" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 442, + 443, + 444, + 445 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 210, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L210" + } + ] + } + } + }, + { + "id": 446, + "name": "warningScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 216, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L216" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 447, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 448, + "name": "backupWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 217, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L217" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 449, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 218, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L218" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 450, + "name": "warning", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 219, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L219" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 448, + 449, + 450 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 216, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L216" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 416, + 417, + 423, + 424, + 431, + 439, + 440, + 446 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 185, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L185" + } + ] + } + } + }, + { + "id": 451, + "name": "magicLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 222, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L222" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 452, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 453, + "name": "countryCodeMissing", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 223, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L223" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 454, + "name": "emailOrPhoneRequired", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 224, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L224" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 455, + "name": "emailPlaceholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 225, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L225" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 456, + "name": "emailRequired", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 226, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L226" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 457, + "name": "invalidEmail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 227, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L227" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 458, + "name": "invalidEmailOrPhone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 228, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L228" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 459, + "name": "invalidPhone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 229, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L229" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "loginWith", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 230, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L230" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 461, + "name": "loginWithEmailOrPhone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 231, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L231" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 462, + "name": "loginWithPhone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 232, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L232" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 463, + "name": "phoneRequired", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 233, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L233" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 464, + "name": "signIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 234, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L234" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 465, + "name": "submitEmail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 235, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L235" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 222, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L222" + } + ] + } + } + }, + { + "id": 466, + "name": "metamaskWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 237, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L237" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 467, + "name": "okxWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 238, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L238" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 468, + "name": "oneKeyWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 239, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L239" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 469, + "name": "paperWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 240, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L240" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 470, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 471, + "name": "emailLoginScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 241, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L241" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 472, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 473, + "name": "enterCodeSendTo", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 242, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L242" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 474, + "name": "enterRecoveryCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 243, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L243" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 475, + "name": "failedToSendCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 244, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L244" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 476, + "name": "invalidCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 245, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L245" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 477, + "name": "invalidCodeOrRecoveryCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 246, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L246" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 478, + "name": "newDeviceDetected", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 247, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L247" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 479, + "name": "resendCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 248, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L248" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 480, + "name": "sendingCode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 249, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L249" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 481, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 250, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L250" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 482, + "name": "verify", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 251, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L251" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 241, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L241" + } + ] + } + } + }, + { + "id": 483, + "name": "emailPlaceholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 253, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L253" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 484, + "name": "emailRequired", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 254, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L254" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 485, + "name": "googleLoginScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 255, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L255" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 486, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 487, + "name": "failed", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 256, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L256" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 488, + "name": "instruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 257, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L257" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 489, + "name": "retry", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 258, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L258" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 490, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 259, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L259" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 487, + 488, + 489, + 490 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 255, + "character": 25, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L255" + } + ] + } + } + }, + { + "id": 491, + "name": "invalidEmail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 261, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L261" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 492, + "name": "signIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 262, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L262" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 493, + "name": "signInWithGoogle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 263, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L263" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 494, + "name": "submitEmail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 264, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L264" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 471, + 483, + 484, + 485, + 491, + 492, + 493, + 494 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 240, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L240" + } + ] + } + } + }, + { + "id": 495, + "name": "phantomWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 266, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L266" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 496, + "name": "rabbyWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 267, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L267" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 497, + "name": "rainbowWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 268, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L268" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 498, + "name": "safeWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 269, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L269" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 499, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 500, + "name": "accountDetailsScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 270, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L270" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 501, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 502, + "name": "connectToSafe", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 271, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L271" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 503, + "name": "connecting", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 272, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L272" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 504, + "name": "dashboardLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 273, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L273" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 505, + "name": "failedToConnect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 274, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L274" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 506, + "name": "failedToSwitch", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 275, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L275" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 507, + "name": "findSafeAddressIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 276, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L276" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 508, + "name": "invalidChainConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 277, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L277" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 509, + "name": "mainnets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 278, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L278" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 510, + "name": "network", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 279, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L279" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 511, + "name": "safeAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 280, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L280" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 512, + "name": "selectNetworkPlaceholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 281, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L281" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 513, + "name": "switchNetwork", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 282, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L282" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 514, + "name": "switchingNetwork", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 283, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L283" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 515, + "name": "testnets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 284, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L284" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 516, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 285, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L285" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 270, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L270" + } + ] + } + } + }, + { + "id": 517, + "name": "connectWalletScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 287, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L287" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 518, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 519, + "name": "learnMoreLink", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 288, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L288" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 520, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 289, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L289" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 521, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 290, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L290" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 519, + 520, + 521 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 287, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L287" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 500, + 517 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 269, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L269" + } + ] + } + } + }, + { + "id": 522, + "name": "smartWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 293, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L293" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 523, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 524, + "name": "connecting", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 294, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L294" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 525, + "name": "failedToConnect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 295, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L295" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 526, + "name": "wrongNetworkScreen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 296, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L296" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 527, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 528, + "name": "failedToSwitch", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 297, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L297" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 529, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 298, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L298" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 530, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 299, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L299" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 528, + 529, + 530 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 296, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L296" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 524, + 525, + 526 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 293, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L293" + } + ] + } + } + }, + { + "id": 531, + "name": "trustWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 302, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L302" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 532, + "name": "walletConnect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 303, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L303" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 533, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 534, + "name": "scanInstruction", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 303, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L303" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 534 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 303, + "character": 19, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L303" + } + ] + } + } + }, + { + "id": 535, + "name": "zerionWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 304, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L304" + } + ], + "type": { + "type": "reference", + "target": 536, + "name": "ExtensionAndQRScreensLocale", + "package": "@thirdweb-dev/react" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 331, + 346, + 347, + 348, + 349, + 393, + 414, + 451, + 466, + 467, + 468, + 469, + 495, + 496, + 497, + 498, + 522, + 531, + 532, + 535 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 109, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L109" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 230, + 329 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/locales/types.ts", + "line": 19, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/types.ts#L19" + } + ] + } + } + }, + { + "id": 2, + "name": "TokenInfo", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 1, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L1" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 3, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 4, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L4" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7, + "name": "icon", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 5, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L5" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 2, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L2" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5, + "name": "symbol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 3, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L3" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6, + 7, + 4, + 5 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 1, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L1" + } + ] + } + } + }, + { + "id": 1056, + "name": "TransferSuccessResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 2, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L2" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1057, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1059, + "name": "claimedTokens", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A list of tokens claimed." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L11" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1060, + "name": "ClaimedToken", + "package": "@thirdweb-dev/react" + } + } + }, + { + "id": 1058, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique ID for this purchase." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 6, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L6" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1059, + 1058 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/TransferSuccessResult.ts", + "line": 2, + "character": 36, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/TransferSuccessResult.ts#L2" + } + ] + } + } + }, + { + "id": 118, + "name": "TrustWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 20, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L20" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 119, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 120, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting Trust using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 27, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L27" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 121, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 32, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L32" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 120, + 121 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 20, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L20" + } + ] + } + } + }, + { + "id": 632, + "name": "WelcomeScreen", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Render custom Welcome Screen in \"wide\" ConnectWallet Modal either by passing a custom React component or by passing an object with custom title, subtitle and image" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### Custom React component\n" + }, + { + "kind": "code", + "text": "```tsx\n
\n ...\n
}\n/>\n```" + }, + { + "kind": "text", + "text": "\n\n### Custom title, subtitle and image\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 32, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L32" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 633, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 636, + "name": "img", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom image" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 45, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L45" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 637, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 640, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Image height" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 57, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L57" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 638, + "name": "src", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Image source" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 49, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L49" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 639, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Image width" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 53, + "character": 8, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L53" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 640, + 638, + 639 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 45, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L45" + } + ] + } + } + }, + { + "id": 635, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom subtitle" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 41, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L41" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 634, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom title" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 37, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L37" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 636, + 635, + 634 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 33, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L33" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 641, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/screens/types.ts", + "line": 60, + "character": 5, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/screens/types.ts#L60" + } + ], + "signatures": [ + { + "id": 642, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "React.ReactNode", + "package": "@types/react" + } + } + ] + } + } + ] + } + }, + { + "id": 982, + "name": "WriteMethodCallType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This is similar to ReadMethodCallType with two added properties\n\n## payment\n * We will automatically call the " + }, + { + "kind": "code", + "text": "`approve`" + }, + { + "kind": "text", + "text": " function for non native coins.\n * The " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " should be human readable. So \"1.2\" represents \"1.2\" ETH or \"1.2\" USDC depending on the " + }, + { + "kind": "code", + "text": "`currency`" + }, + { + "kind": "text", + "text": " field\n\n## callOptions\n* As of now, we only support specifying the relative amount of gas to use.\n* They correspond to the values of the [gas trackers](https://etherscan.io/gastracker) at the time of calling the function" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 130, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L130" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 978, + "name": "ReadMethodCallType", + "package": "@thirdweb-dev/react" + }, + { + "type": "reflection", + "declaration": { + "id": 983, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 988, + "name": "callOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 135, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L135" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 989, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 990, + "name": "gasOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 135, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L135" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "low" + }, + { + "type": "literal", + "value": "medium" + }, + { + "type": "literal", + "value": "high" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 990 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 135, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L135" + } + ] + } + } + }, + { + "id": 984, + "name": "payment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 131, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L131" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 985, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 986, + "name": "currency", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 132, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L132" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "MATIC" + }, + { + "type": "literal", + "value": "ETH" + }, + { + "type": "literal", + "value": "USDC" + }, + { + "type": "literal", + "value": "SOL" + }, + { + "type": "literal", + "value": "AVAX" + }, + { + "type": "literal", + "value": "USDC.e" + } + ] + } + }, + { + "id": 987, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 133, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L133" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 986, + 987 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 131, + "character": 11, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L131" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 988, + 984 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/payments/interfaces/CustomContract.ts", + "line": 130, + "character": 55, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/interfaces/CustomContract.ts#L130" + } + ] + } + } + ] + } + }, + { + "id": 137, + "name": "ZerionkWalletConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", + "line": 20, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L20" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 138, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 139, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When connecting MetaMask using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", + "line": 27, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L27" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 140, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", + "line": 32, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L32" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 139, + 140 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", + "line": 20, + "character": 41, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L20" + } + ] + } + } + }, + { + "id": 125, + "name": "walletConnectConfigOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 12, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L12" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 126, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 127, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Your project’s unique identifier that can be obtained at https://cloud.walletconnect.com/\n\nEnables following functionalities within Web3Modal: wallet and chain logos, optional WalletConnect RPC, support for all wallets from our Explorer and WalletConnect v2 support. Defaults to undefined.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options#projectid-required" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 20, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L20" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 130, + "name": "qrModal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specify wheher a custom QR Modal or the Official WalletConnect Modal should be used on desktop. The custom screen has an option to open the official WalletConnect Modal too.\n\nNote that the official WalletConnect Modal is always used on mobile devices.\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"custom\"`" + }, + { + "kind": "text", + "text": " ( for desktop )" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 41, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L41" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "custom" + }, + { + "type": "literal", + "value": "walletConnect" + } + ] + } + }, + { + "id": 128, + "name": "qrModalOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "options to customize QR Modal.\n\nhttps://docs.walletconnect.com/2.0/web3modal/options" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 27, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L27" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", + "qualifiedName": "WC2_QRModalOptions" + }, + "name": "WC2_QRModalOptions", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 129, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"recommended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 32, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L32" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 127, + 130, + 128, + 129 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 12, + "character": 41, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L12" + } + ] + } + } + }, + { + "id": 1, + "name": "defaultTokens", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Default tokens shown in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet)'s SendFunds screen for each network.\n\nYou can use the default tokens as a starting point for your own list of tokens and override tokens for specific networks." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Below example shows adding a custom token for the Ethereum mainnet at start of the list of default tokens for the Ethereum mainnet. Here the " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " represents the chainId of Ethereum mainnet.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nconst ethereumChainId = 1;\n\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 59, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L59" + } + ], + "type": { + "type": "reference", + "target": 915, + "name": "SupportedTokens", + "package": "@thirdweb-dev/react" + }, + "defaultValue": "..." + }, + { + "id": 8, + "name": "defaultWallets", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The default wallets that are used by the [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) if no " + }, + { + "kind": "code", + "text": "`supportedWallets`" + }, + { + "kind": "text", + "text": " prop is provided.\n\nThe defaults wallets are:\n- Metamask\n- Coinbase\n- WalletConnect\n- TrustWallet\n- RainbowWallet\n- ZerionWallet\n- PhantomWallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defaultWallets.ts", + "line": 22, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/defaultWallets.ts#L22" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + "defaultValue": "..." + }, + { + "id": 1000, + "name": "CheckoutWithCard", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/CheckoutWithCard.tsx", + "line": 47, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/CheckoutWithCard.tsx#L47" + } + ], + "signatures": [ + { + "id": 1001, + "name": "CheckoutWithCard", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/CheckoutWithCard.tsx", + "line": 47, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/CheckoutWithCard.tsx#L47" + } + ], + "parameters": [ + { + "id": 1002, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/payments/components/CheckoutWithCard.tsx", + "qualifiedName": "CheckoutWithCardProps" + }, + "name": "CheckoutWithCardProps", + "package": "@thirdweb-dev/react" + } + } + ], + "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": 660, + "name": "ConnectEmbed", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 280, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L280" + } + ], + "signatures": [ + { + "id": 661, + "name": "ConnectEmbed", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A component that allows the user to connect their wallet.\n\nit renders the same UI as the [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component's modal - but directly on the page instead of being in a modal.\n\nIt only renders UI if either one of the following conditions are met:\n- wallet is not connected\n- wallet is connected but the user is not signed in and " + }, + { + "kind": "code", + "text": "`auth`" + }, + { + "kind": "text", + "text": " is required ( loginOptional is not set to false )\n\n" + }, + { + "kind": "code", + "text": "`ConnectEmbed`" + }, + { + "kind": "text", + "text": " uses the [" + }, + { + "kind": "code", + "text": "`useShowConnectEmbed`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/useShowConnectEmbed) hook internally to determine if it should be rendered or not. You can also use this hook to determine if you should render something else instead of " + }, + { + "kind": "code", + "text": "`ConnectEmbed`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nfunction Example() {\n const loginOptional = false;\n const showConnectEmbed = useShowConnectEmbed(loginOptional);\n\n if (!showConnectEmbed) {\n return
Wallet is connected
\n }\n\n return (\n
\n \n
\n );\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx", + "line": 280, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/Modal/ConnectEmbed.tsx#L280" + } + ], + "parameters": [ + { + "id": 662, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the component.\n\n### className\nClass name to be added to the root element of ConnectEmbed\n\n### theme\ntheme for the ConnectEmbed\n\nIf a theme is set on the [" + }, + { + "kind": "code", + "text": "`ThirdWebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) component, it will be used as the default theme for all thirdweb components, else the default will be \"dark\"\n\ntheme can be set to either \"dark\" or \"light\" or a custom theme object.\n\nYou can also import " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " functions from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/react`" + }, + { + "kind": "text", + "text": " to use the default themes as base and overrides parts of it.\n\n" + }, + { + "kind": "code", + "text": "```ts\nimport { lightTheme } from \"@thirdweb-dev/react\";\nconst customTheme = lightTheme({\n colors: {\n modalBg: 'red'\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\n### style\nCSS styles to be applied to the root element of ConnectEmbed\n\n### termsOfServiceUrl\nIf provided, Embed will show a Terms of Service message at the bottom with below link\n\n### privacyPolicyUrl\nIf provided, Embed will show a Privacy Policy message at the bottom with below link\n\n### auth\nEnforce that users must sign in with their wallet using [auth](https://portal.thirdweb.com/auth) after connecting their wallet.\n\nThis requires the " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " prop to be set on the [" + }, + { + "kind": "code", + "text": "`ThirdWebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) component.\n\nThe " + }, + { + "kind": "code", + "text": "`auth`" + }, + { + "kind": "text", + "text": " prop accepts an object with the following properties:\n- " + }, + { + "kind": "code", + "text": "`loginOptional`" + }, + { + "kind": "text", + "text": " - specify whether signing in is optional or not. By default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " ( sign in is required ) if " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdWebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\n- " + }, + { + "kind": "code", + "text": "`onLogin`" + }, + { + "kind": "text", + "text": " - Callback to be called after user signs in with their wallet\n- " + }, + { + "kind": "code", + "text": "`onLogout`" + }, + { + "kind": "text", + "text": " - Callback to be called after user signs out\n\n### onConnect\nCallback to be called on successful connection of wallet\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n console.log(\"wallet connected\")\n }}\n/>\n```" + }, + { + "kind": "text", + "text": "\n\nNote that this does not include the sign in, If you want to call a callback after user connects AND signs in with their wallet, use " + }, + { + "kind": "code", + "text": "`auth.onLogin`" + }, + { + "kind": "text", + "text": " prop instead\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n console.log(\"wallet connected and signed in\")\n }\n }}\n/>\n```" + } + ] + }, + "type": { + "type": "reference", + "target": 663, + "name": "ConnectEmbedProps", + "package": "@thirdweb-dev/react" + } + } + ], + "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": 592, + "name": "ConnectWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 592, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L592" + } + ], + "signatures": [ + { + "id": 593, + "name": "ConnectWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A component that allows the user to connect their wallet.\n\nit renders a button which when clicked opens a modal to allow users to connect to wallets specified in the [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)'s supportedWallets prop.\n\nThis component must be descendant of [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 592, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L592" + } + ], + "parameters": [ + { + "id": 594, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Props for the ConnectWallet component\n\n### btnTitle (optional)\nset custom label for the button.\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"Connect\"`" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n### modalSize (optional)\nSet 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\n\nBy default it is " + }, + { + "kind": "code", + "text": "`\"wide\"`" + }, + { + "kind": "text", + "text": " for desktop.\n\n### modalTitle (optional)\nChange the title of ConnectWallet Modal\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"Connect\"`" + }, + { + "kind": "text", + "text": "\n\n### modalTitleIconUrl (optional)\nReplace the thirdweb icon next to modalTitle and set your own iconUrl\n\nSet to empty string to hide the icon\n\n### auth (optional)\nThe object contains the following properties to customize the authentication\n- " + }, + { + "kind": "code", + "text": "`loginOptional`" + }, + { + "kind": "text", + "text": " - specify whether signing in is optional or not. By default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " ( Sign in is required ) if " + }, + { + "kind": "code", + "text": "`authConfig`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\n- " + }, + { + "kind": "code", + "text": "`onLogin`" + }, + { + "kind": "text", + "text": " - Callback to be called after user signs in with their wallet\n- " + }, + { + "kind": "code", + "text": "`onLogout`" + }, + { + "kind": "text", + "text": " - Callback to be called after user signs out\n\n### theme (optional)\nSet the theme for the button and modal.\n\nBy default it is set to \"dark\" if " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " is not set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\nIf a " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " is set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) then that theme will be used by default which can be overridden by setting " + }, + { + "kind": "code", + "text": "`theme`" + }, + { + "kind": "text", + "text": " prop on [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component\n\ntheme can be set to either \"dark\" or \"light\" or a custom theme object. You can also import " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " functions from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/react`" + }, + { + "kind": "text", + "text": " to use the default themes as base and overrides parts of it.\n\n" + }, + { + "kind": "code", + "text": "```ts\nimport { lightTheme } from \"@thirdweb-dev/react\";\nconst customTheme = lightTheme({\n colors: {\n modalBg: 'red'\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\n### className (optional)\nCSS class to apply to the button element\n\n### detailsBtn\nRender a custom button to display connected wallet details instead of the default one\n\n" + }, + { + "kind": "code", + "text": "```tsx\nconst address = useAddress();\n\n {\n return (\n \n )\n }}\n/>\n```" + }, + { + "kind": "text", + "text": "\n\n### dropdownPosition (optional)\nWhen user connects the wallet using ConnectWallet Modal, a \"Details Button\" is rendered. Clicking on this button opens a dropdown which opens in a certain direction relative to the Details button.\n\n" + }, + { + "kind": "code", + "text": "`dropdownPosition`" + }, + { + "kind": "text", + "text": " prop allows you to customize the direction the dropdown should open relative to the Details button.\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n### style (optional)\nCSS styles to apply to the button element\n\n### networkSelector (optional)\nCustomize the Network selector shown\n\n### hideTestnetFaucet (optional)\nHide the \"Request Testnet funds\" link in ConnectWallet dropdown which is shown when user is connected to a testnet.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n### switchToActiveChain (optional)\nWhether 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": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)\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.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "\n\nFor some CSS properties, you may need to use the !important to override the default styles\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n### termsOfServiceUrl\nIf provided, Modal will show a Terms of Service message at the bottom with below link\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n### privacyPolicyUrl\nIf provided, Modal will show a Privacy Policy message at the bottom with below link\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n### welcomeScreen\nCustomize the welcome screen. This prop is only applicable when modalSize prop is set to \"wide\". On \"wide\" Modal size, a welcome screen is shown on the right side of the modal.\n\nThis screen can be customized in two ways\n\n#### 1. Customize Metadata and Image\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n#### 2. Render Custom Component\n\n" + }, + { + "kind": "code", + "text": "```tsx\n {\n return \n}}\n/>\n```" + }, + { + "kind": "text", + "text": "\n\n\n### supportedTokens\nCustomize the tokens shown in the \"Send Funds\" screen for various networks.\n\nBy default, The \"Send Funds\" screen shows a few popular tokens for default chains and the native token. For other chains it only shows the native token.\n\nsupportedTokens prop allows you to customize this list as shown below which shows \"Dai Stablecoin\" when users wallet is connected to the \"Base\" mainnet.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ConnectWallet } from '@thirdweb-dev/react';\nimport { Base } from '@thirdweb-dev/chains';\n\nfunction Example() {\n return (\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### displayBalanceToken\nDisplay the balance of a token instead of the native token in ConnectWallet details button.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { Base } from \"@thirdweb-dev/chains\";\n\n\n```" + }, + { + "kind": "text", + "text": "\n\n### hideSwitchToPersonalWallet\nHide the \"Switch to Personal wallet\" option in the wallet modal which is shown when wallet is connected to either Smart Wallet or Safe.\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + }, + { + "kind": "text", + "text": "\n\n### hideDisconnect\nHide the \"Disconnect Wallet\" button in the ConnectWallet dropdown\n\nBy default it is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + }, + "type": { + "type": "reference", + "target": 595, + "name": "ConnectWalletProps", + "package": "@thirdweb-dev/react" + } + } + ], + "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": 1003, + "name": "LoginWithPaper", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/VerifyOwnershipWithPaper.tsx", + "line": 36, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/VerifyOwnershipWithPaper.tsx#L36" + } + ], + "signatures": [ + { + "id": 1004, + "name": "LoginWithPaper", + "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": 1005, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/payments/components/VerifyOwnershipWithPaper.tsx", + "qualifiedName": "VerifyOwnershipWithPaperProps" + }, + "name": "VerifyOwnershipWithPaperProps", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 1006, + "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": 931, + "name": "MediaRenderer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 599, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/MediaRenderer.tsx#L599" + } + ], + "signatures": [ + { + "id": 932, + "name": "MediaRenderer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Component that renders any asset stored on IPFS (or anywhere else), given the IPFS URI / URL.\n\nUnder the hood, the asset is fetched from IPFS through the thirdweb IPFS gateway (or just\na regular fetch if the " + }, + { + "kind": "code", + "text": "`src`" + }, + { + "kind": "text", + "text": " is not an IPFS URI).\nThe [mime type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the\nasset is determined and the appropriate component is rendered on the UI.\n\nFor example, if the URI points to an image, the " + }, + { + "kind": "code", + "text": "`img`" + }, + { + "kind": "text", + "text": " tag will be used. If it is a video, the " + }, + { + "kind": "code", + "text": "`video`" + }, + { + "kind": "text", + "text": " tag will be used, etc.\nThe component currently supports:\n\n- Images\n- Videos\n- Audio files\n- 3D Models\n- SVGs (for [on-chain NFTs](https://blog.thirdweb.com/guides/how-to-create-on-chain-nfts-with-thirdweb/))\n- " + }, + { + "kind": "code", + "text": "`iframes`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`HTML`" + }, + { + "kind": "text", + "text": "\n- If none of these are appropriate, the fallback is a link to the asset" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Provide the IPFS URI (or any URL that points to media) to the " + }, + { + "kind": "code", + "text": "`src`" + }, + { + "kind": "text", + "text": " prop to render the asset.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { MediaRenderer } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\treturn (\n\t\t// Any URL that points to media (IPFS URI, HTTP URL, etc.)\n\t\t\n\t);\n}\n```" + } + ] + }, + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "The default size of rendered media is 300px x 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\nYou can use " + }, + { + "kind": "code", + "text": "`npx thirdweb upload `" + }, + { + "kind": "text", + "text": " to upload any file to IPFS and get the IPFS URI." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 392, + "character": 8 + } + ], + "parameters": [ + { + "id": 933, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the component\n\n### src (required)\n\nThe [src](https://www.w3schools.com/tags/att_img_src.asp) attribute specifies the URL of the media.\n\nThis can be an IPFS URI, or any URL that points to media (e.g. HTTP URL, etc.).\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { MediaRenderer } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\treturn (\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### alt (recommended)\n\nThe [alt](https://www.w3schools.com/tags/att_img_alt.asp) attributes provides alternative\ninformation for the media, if a user for some reason cannot view it\n(due to slow connection, an error in the " + }, + { + "kind": "code", + "text": "`src`" + }, + { + "kind": "text", + "text": " attribute, or if the user is visually impaired).\n\nThe default value is " + }, + { + "kind": "code", + "text": "`\"\"`" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { MediaRenderer } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\treturn (\n\t\t// Any URL that points to media (IPFS URI, HTTP URL, etc.)\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### poster (optional)\n\nThe [poster](https://www.w3schools.com/tags/att_video_poster.asp) is the image\nthat is shown before the video is played.\n\nThe default value is the first frame of the video.\n\nIf the " + }, + { + "kind": "code", + "text": "`src`" + }, + { + "kind": "text", + "text": " is not a video, this prop is ignored.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { MediaRenderer } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\treturn (\n\t\t// Any URL that points to media (IPFS URI, HTTP URL, etc.)\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### controls (optional)\n\nShow the media controls (play, pause, etc.) for the media, where applicable.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\t// ... Get the NFT metadata\n\n\treturn (\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### height (optional)\n\nThe height of the rendered media.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`auto`" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\t// ... Get the NFT metadata\n\n\treturn (\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### width (optional)\n\nThe width of the rendered media.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`auto`" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\t// ... Get the NFT metadata\n\n\treturn (\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### requireInteraction (optional)\n\nRequire user interaction to play the media (i.e. disable autoplay).\n\nThe default value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\t// ... Get the NFT metadata\n\n\treturn (\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### className (optional)\n\nApply custom CSS styles to the button using a class name.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\t// ... Get the NFT metadata\n\n\treturn (\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### style (optional)\n\nApply custom CSS styles to the button using an inline style.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\t// ... Get the NFT metadata\n\n\treturn (\n\t\t\n\t);\n}\n```" + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 798, + "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.2.2/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": 1049, + "name": "PaperCheckout", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 78, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L78" + } + ], + "signatures": [ + { + "id": 1050, + "name": "PaperCheckout", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/components/PaperCheckout.tsx", + "line": 78, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/components/PaperCheckout.tsx#L78" + } + ], + "typeParameter": [ + { + "id": 1051, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/payments/interfaces/CustomContract.ts", + "qualifiedName": "ContractType" + }, + "name": "ContractType", + "package": "@thirdweb-dev/react" + } + } + ], + "parameters": [ + { + "id": 1052, + "name": "__namedParameters", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1013, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + } + ], + "name": "PaperCheckoutProps", + "package": "@thirdweb-dev/react" + } + } + ], + "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": 995, + "name": "PaymentsSDKProvider", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 28, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L28" + } + ], + "signatures": [ + { + "id": 996, + "name": "PaymentsSDKProvider", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 28, + "character": 35, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L28" + } + ], + "parameters": [ + { + "id": 997, + "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": 991, + "name": "PaymentsProviderProps", + "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": 948, + "name": "ThirdwebNftMedia", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 96, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/NftMedia.tsx#L96" + } + ], + "signatures": [ + { + "id": 949, + "name": "ThirdwebNftMedia", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Component that renders an NFT from given a " + }, + { + "kind": "code", + "text": "`metadata`" + }, + { + "kind": "text", + "text": " object.\n\nUnder the hood, if the " + }, + { + "kind": "code", + "text": "`image`" + }, + { + "kind": "text", + "text": " property of the metadata is an URL/IPFS URI, it is fetched from the source.\nThe [mime type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the\nasset is determined and the appropriate component is rendered on the UI.\n\nFor example, if your NFT is an image, the " + }, + { + "kind": "code", + "text": "`img`" + }, + { + "kind": "text", + "text": " tag will be used. If it is a video, the " + }, + { + "kind": "code", + "text": "`video`" + }, + { + "kind": "text", + "text": " tag will be used, etc.\n\nThe component currently supports:\n\n- Images\n- Videos\n- Audio files\n- 3D Models\n- SVGs (for [on-chain NFTs](https://blog.thirdweb.com/guides/how-to-create-on-chain-nfts-with-thirdweb/))\n- " + }, + { + "kind": "code", + "text": "`iframes`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`HTML`" + }, + { + "kind": "text", + "text": "\n- If none of these are appropriate, the fallback is a link to the asset" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Provide the " + }, + { + "kind": "code", + "text": "`metadata`" + }, + { + "kind": "text", + "text": " object to the component to render the NFT.\n\nThe NFT's " + }, + { + "kind": "code", + "text": "`image`" + }, + { + "kind": "text", + "text": " is used as the media, and the " + }, + { + "kind": "code", + "text": "`name`" + }, + { + "kind": "text", + "text": " is used as the alt text for the media.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia, useContract, useNFT } from \"@thirdweb-dev/react\";\n\nfunction Home() {\n\t// Connect to your NFT contract\n\tconst { contract } = useContract(\"{{contract_address}}\");\n\t// Load the NFT metadata from the contract using a hook\n\tconst { data: nft, isLoading, error } = useNFT(contract, \"0\");\n\n\t// Render the NFT onto the UI\n\tif (isLoading) return
Loading...
;\n\tif (error || !nft) return
NFT not found
;\n\n\treturn ;\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": 950, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the component.\n\n### controls (optional)\nShow the media controls (play, pause, etc.) for the media, where applicable.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\n\n\n### height (optional)\nThe height of the rendered media.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`auto`" + }, + { + "kind": "text", + "text": ".\n\n\n### width (optional)\nThe width of the rendered media.\n\nThe default value is " + }, + { + "kind": "code", + "text": "`auto`" + }, + { + "kind": "text", + "text": ".\n\n### requireInteraction (optional)\nRequire user interaction to play the media (i.e. disable autoplay).\n\nThe default value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\n\n\n### className (optional)\nApply custom CSS styles to the button using a class name\n\n\n### style (optional)\nApply custom CSS styles to the button using an inline style." + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 937, + "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.2.2/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": 770, + "name": "ThirdwebProvider", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 471, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L471" + } + ], + "signatures": [ + { + "id": 771, + "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": 471, + "character": 32, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/thirdweb-provider.tsx#L471" + } + ], + "typeParameter": [ + { + "id": 772, + "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": 773, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2599, + "character": 37 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 774, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2656, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 775, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2700, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 776, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2750, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 777, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2800, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 778, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2840, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 779, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2871, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 780, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2921, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 781, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2959, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 782, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3008, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 783, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3044, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 784, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3084, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 785, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3114, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 786, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3159, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 787, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3195, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 788, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3227, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 789, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 3257, + "character": 4 + } + ] + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 790, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the component.\n\n### activeChain (optional)\nThe activeChain prop determines which chain you want your app to be operating on.\n\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. Import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " prop.\n\nYou can override the imported object or pass a custom chain object with required properties.\n\n### supportedChains (optional)\nAn array of chains supported by your app.\nThere are 1000+ chains available in the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/chains`" + }, + { + "kind": "text", + "text": " package. You can import the chain you want and pass it to the " + }, + { + "kind": "code", + "text": "`supportedChains`" + }, + { + "kind": "text", + "text": " prop in an array.\n\nIf not provided, it will default to the default supported chains supported by the thirdweb SDK.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { Ethereum, Polygon } from \"@thirdweb-dev/chains\";\n\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### clientId (optional)\nThe clientId prop is required to use the thirdweb infrastructure services with the SDK.\n\nYou can get a client ID by creating an API key on [thirdweb dashboard](https://thirdweb.com/dashboard/settings/api-keys)\n\n### supportedWallets (optional)\nWallets supported by the dApp\n\nIf no wallets are provided, the default wallets will be used which is equivalent to the following:\n\n" + }, + { + "kind": "code", + "text": "```tsx\n[\n metamaskWallet(),\n coinbaseWallet(),\n walletConnect(),\n trustWallet(),\n rainbowWallet(),\n zerionWallet(),\n phantomWallet(),\n]\n```" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { metamaskWallet, coinbaseWallet, walletConnect } from \"@thirdweb-dev/react\";\n\n\n```" + }, + { + "kind": "text", + "text": "\n\n### theme (optional)\nSet the theme for all thirdweb components\n\nBy default it is set to \"dark\".\n\ntheme can be set to either \"dark\" or \"light\" or a custom theme object.\n\nYou can also import " + }, + { + "kind": "code", + "text": "`lightTheme`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`darkTheme`" + }, + { + "kind": "text", + "text": " functions from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/react`" + }, + { + "kind": "text", + "text": " to use the default themes as base and overrides parts of it.\n\n" + }, + { + "kind": "code", + "text": "```ts\nimport { lightTheme } from \"@thirdweb-dev/react\";\nconst customTheme = lightTheme({\n colors: {\n modalBg: 'red'\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\n### locale (optional)\nlocale object contains text used for all thirdweb components\n\nit allows you to change the language used in UI components or override the texts used in the UI\n\nReact SDK comes out of the box with Spanish and Japanese locale functions, but you can add support for any language you want just by passing an object with the required strings\n\n#### Using Built-in Locales\n\n##### Using the Spanish locale\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, es } from \"@thirdweb-dev/react\";\n\nconst spanish = es();\n\n \n```" + }, + { + "kind": "text", + "text": "\n\n##### Using the Japanese locale\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, jp } from \"@thirdweb-dev/react\";\n\nconst japanese = jp();\n\n \n```" + }, + { + "kind": "text", + "text": "\n\n##### Using English locale ( default )\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, en } from \"@thirdweb-dev/react\";\n\nconst english = en();\n\n \n```" + }, + { + "kind": "text", + "text": "\n\n##### Overriding the locale\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider, en } from \"@thirdweb-dev/react\";\n\n// override some texts\nconst english = en({\n connectWallet: {\n confirmInWallet: \"Confirm in your wallet\",\n },\n wallets: {\n metamaskWallet: {\n connectionScreen: {\n inProgress: \"Awaiting Confirmation\",\n instruction: \"Accept connection request in your MetaMask wallet\",\n },\n },\n },\n});\n\n\n \n;\n\n```" + }, + { + "kind": "text", + "text": "\n\n#### Custom locale object\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\n\n \n;\n```" + }, + { + "kind": "text", + "text": "\n\n### dAppMeta (optional)\nMetadata 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": ".\n\n### autoConnect (optional)\nWhen the user has connected their wallet to your site, this flag determines whether or not you want to automatically connect to the last connected wallet when user visits your site again in the future.\nDefaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ".\n\n### sdkOptions (optional)\nOverride any of the default values for the SDK. Gas settings, gasless transactions, RPC configuration, and more.\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst sdkOptions = {\n readonlySettings: {\n rpcUrl: \"\", // force read calls to go through your own RPC url\n chainId: 1, // reduce RPC calls by specifying your chain ID\n },\n gasSettings: {\n maxPriceInGwei: 123, // Maximum gas price for transactions (default 300 gwei)\n speed: \"fastest\", // the tx speed setting: 'standard'|'fast|'fastest' (default: 'fastest')\n },\n gasless: {\n // By specifying a gasless configuration - all transactions will get forwarded to enable gasless transactions\n openzeppelin: {\n relayerUrl: \"\", // your OZ Defender relayer URL\n relayerForwarderAddress: \"\", // the OZ defender relayer address (defaults to the standard one)\n },\n biconomy: {\n apiId: \"biconomy-api-id\", // your Biconomy API Id\n apiKey: \"biconomy-api-key\", // your Biconomy API Key\n deadlineSeconds: 123, // your Biconomy timeout preference\n },\n },\n infuraApiKey: \"\", // your Infura API key\n alchemyApiKey: \"\", // your Alchemy API key\n};\n\nfunction Example() {\n return (\n \n \n \n );\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### authConfig (optional)\nThe configuration object for setting up [Auth](https://portal.thirdweb.com/wallets/auth); allowing users to sign in with their wallet.\nIt takes an object with the following properties:\n- " + }, + { + "kind": "code", + "text": "`authUrl`" + }, + { + "kind": "text", + "text": " - The backend URL of the authentication endpoints. For example, if your endpoints are at " + }, + { + "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": "\n- " + }, + { + "kind": "code", + "text": "`domain`" + }, + { + "kind": "text", + "text": " - The frontend domain used to generate the login payload. This domain should match the domain used on your auth backend.\n- " + }, + { + "kind": "code", + "text": "`secureStorage`" + }, + { + "kind": "text", + "text": " - Secure storage to use when working with JWT tokens. By default auth uses cookies so no need to set this unless you want to specifically use JWT tokens\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nfunction MyApp() {\n return (\n \n \n \n );\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### signer (optional)\nUse a signer instead of " + }, + { + "kind": "code", + "text": "`supportedWallets`" + }, + { + "kind": "text", + "text": " if you want to provide your own wallet connection logic.\n\n### storageInterface\nOverride the default [Storage](/storage) interface used by the SDK.\n\nAllows you to create an instance of " + }, + { + "kind": "code", + "text": "`ThirdwebStorage`" + }, + { + "kind": "text", + "text": " with your own customized config, and pass it to the SDK. This requires the " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/storage`" + }, + { + "kind": "text", + "text": " package to be installed.\n\n[Learn more about storage](https://portal.thirdweb.com/infrastructure/storage/overview)\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\nimport {\n\tThirdwebStorage,\n\tStorageDownloader,\n\tIpfsUploader,\n} from \"@thirdweb-dev/storage\";\n\n// Configure a custom ThirdwebStorage instance\nconst storage = new ThirdwebStorage({\n\tuploader: new IpfsUploader(),\n\tdownloader: new StorageDownloader(),\n\tgatewayUrls: {\n\t\t\"ipfs://\": [\n\t\t\t\"https://gateway.ipfscdn.io/ipfs/\",\n\t\t\t\"https://cloudflare-ipfs.com/ipfs/\",\n\t\t\t\"https://ipfs.io/ipfs/\",\n\t\t],\n\t},\n});\n\n// Provide the custom storage instance to the SDK\nfunction MyApp() {\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### queryClient (optional)\nIf you are using [React Query](https://react-query.tanstack.com/) and have your own " + }, + { + "kind": "code", + "text": "`QueryClient`" + }, + { + "kind": "text", + "text": ",\nyou can pass it as the " + }, + { + "kind": "code", + "text": "`queryClient`" + }, + { + "kind": "text", + "text": " prop to use this client instead of the SDK's default client.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\nimport { QueryClient, QueryClientProvider } from \"@tanstack/react-query\";\n\nfunction MyApp() {\n\t// Your React Query client (or client from other library such as wagmi)\n\tconst queryClient = new QueryClient();\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n```" + } + ] + }, + "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": 792, + "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": 719, + "name": "Web3Button", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 231, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L231" + } + ], + "signatures": [ + { + "id": 720, + "name": "Web3Button", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Button that executes a function on a smart contract from the connected wallet when clicked.\n\nIt ensures the following criteria before attempting to call the contract function:\n\n1. There is a connected wallet (if there is not, it renders a [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component instead.\n\n2. The connected wallet is on the correct network as specified in the [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)'s " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " prop. if it is not, it renders a \"switch network\" button instead.\n\nIf the action you are performing is async, make sure to return a " + }, + { + "kind": "code", + "text": "`Promise`" + }, + { + "kind": "text", + "text": " from the action function so that the SDK knows when the action is complete. This can be done by either using async/await or by returning a " + }, + { + "kind": "code", + "text": "`Promise`" + }, + { + "kind": "text", + "text": "." + } + ], + "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 Claim NFT\n \n
\n )\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 231, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/Web3Button/index.tsx#L231" + } + ], + "typeParameter": [ + { + "id": 721, + "name": "TAction", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 766, + "name": "ActionFn", + "package": "@thirdweb-dev/react" + } + } + ], + "parameters": [ + { + "id": 722, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the component.\n\nRefer to [Web3ButtonProps](https://portal.thirdweb.com/references/react/v4/Web3ButtonProps) for more details." + } + ] + }, + "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": 723, + "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": 32, + "name": "bloctoWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 43, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L43" + } + ], + "signatures": [ + { + "id": 33, + "name": "bloctoWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Blocto Wallet](https://blocto.io/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nbloctoWallet({\n appId: \"my-app-id\",\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 43, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L43" + } + ], + "parameters": [ + { + "id": 34, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n#### appId (optional)\nTo get advanced features and support from Blocto, you need to create an appId from [blocto dashboard](https://docs.blocto.app/blocto-sdk/register-app-id)\n\n#### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 35, + "name": "BloctoWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 169, + "name": "coin98Wallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx", + "line": 59, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx#L59" + } + ], + "signatures": [ + { + "id": 170, + "name": "coin98Wallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Coin98 Wallet](https://coin98.com/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\ncoin98Wallet({\n projectId: \"my-project-id\",\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx", + "line": 59, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coin98/coin98Wallet.tsx#L59" + } + ], + "parameters": [ + { + "id": 171, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n### projectId (optional)\nWhen connecting Coin98 using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 172, + "name": "Coin98WalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/coin98.ts", + "qualifiedName": "Coin98Wallet" + }, + "name": "Coin98Wallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 39, + "name": "coinbaseWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 56, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L56" + } + ], + "signatures": [ + { + "id": 40, + "name": "coinbaseWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Coinbase Wallet](https://www.coinbase.com/wallet) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\ncoinbaseWallet({\n qrmodal: \"custom\",\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 56, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L56" + } + ], + "parameters": [ + { + "id": 41, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n### qrmodal (optional)\nWhether to use the Coinbase's default QR Code modal or show the custom UI in ConnectWallet Modal.\n\nThe default is " + }, + { + "kind": "code", + "text": "`\"custom\"`" + }, + { + "kind": "text", + "text": "\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 42, + "name": "CoinbaseWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 148, + "name": "coreWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx", + "line": 63, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx#L63" + } + ], + "signatures": [ + { + "id": 149, + "name": "coreWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Core Wallet](https://core.app/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\ncoreWallet({\n projectId: \"my-project-id\",\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx", + "line": 63, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/coreWallet/coreWallet.tsx#L63" + } + ], + "parameters": [ + { + "id": 150, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n### projectId (optional)\nWhen connecting Core using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 151, + "name": "CoreWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/core-wallet.ts", + "qualifiedName": "CoreWallet" + }, + "name": "CoreWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 155, + "name": "cryptoDefiWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx", + "line": 63, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx#L63" + } + ], + "signatures": [ + { + "id": 156, + "name": "cryptoDefiWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Crypto.com Defi Wallet](https://crypto.com/defi-wallet) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\ncryptoDefiWallet({\n projectId: \"my-project-id\",\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx", + "line": 63, + "character": 32, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/defiWallet/cryptoDefiWallet.tsx#L63" + } + ], + "parameters": [ + { + "id": 157, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n### projectId (optional)\nWhen connecting Defi wallet using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 158, + "name": "CryptoDefiWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/crypto-defi-wallet.ts", + "qualifiedName": "CryptoDefiWallet" + }, + "name": "CryptoDefiWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 176, + "name": "darkTheme", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 263, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L263" + } + ], + "signatures": [ + { + "id": 177, + "name": "darkTheme", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a custom dark theme object by using the default dark theme as a base and applying overrides." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### Get the default dark theme\n" + }, + { + "kind": "code", + "text": "```ts\nconst defaultDarkTheme = darkTheme()\n```" + }, + { + "kind": "text", + "text": "\n\n### Create a custom dark theme\n" + }, + { + "kind": "code", + "text": "```ts\nconst customTheme = darkTheme({\n colors: {\n modalBg: \"red\",\n },\n});\n```" + } + ] + }, + { + "tag": "@theme", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 263, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L263" + } + ], + "parameters": [ + { + "id": 178, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The overrides to apply to the default dark theme." + } + ] + }, + "type": { + "type": "reference", + "target": 218, + "name": "ThemeOverrides", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 46, + "name": "embeddedWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", + "line": 70, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx#L70" + } + ], + "signatures": [ + { + "id": 47, + "name": "embeddedWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Embedded Wallet](https://portal.thirdweb.com/wallet/embedded-wallet) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide\n\nYou can also connect this wallet using the [" + }, + { + "kind": "code", + "text": "`useEmbeddedWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useEmbeddedWallet) hook" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nembeddedWallet({\n auth: {\n options: [\"email\", \"google\", \"facebook\", \"apple\"],\n },\n recommended: true,\n});\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", + "line": 70, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx#L70" + } + ], + "parameters": [ + { + "id": 48, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n### auth (optional)\nChoose which auth providers to show in the wallet connection UI\n\nBy default, all auth methods are enabled, which is equivalent to setting the following:\n" + }, + { + "kind": "code", + "text": "```ts\n{\n options: [\"email\", \"google\", \"apple\", \"facebook\"]\n}\n```" + }, + { + "kind": "text", + "text": "\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI\n\n### onAuthSuccess (optional)\nA callback function that will be called when the user successfully authenticates with the wallet. The callback is called with the " + }, + { + "kind": "code", + "text": "`authResult`" + }, + { + "kind": "text", + "text": " object" + } + ] + }, + "type": { + "type": "reference", + "target": 49, + "name": "EmbeddedWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 219, + "name": "en", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/en.ts", + "line": 358, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/en.ts#L358" + } + ], + "signatures": [ + { + "id": 220, + "name": "en", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Calling this function will return the default English locale object to be set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) to localize the thirdweb components.\n\nYou can also overrides parts of the default locale object by passing an object with the same structure as the default locale object and only those parts will be overridden." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### Use default Locale\n" + }, + { + "kind": "code", + "text": "```tsx\nconst english = en();\n```" + }, + { + "kind": "text", + "text": "\n\n### Override Locale\n" + }, + { + "kind": "code", + "text": "```ts\nconst english = en({\n connectWallet: {\n signIn: \"Sign in!\"\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\nPass it to [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)'s " + }, + { + "kind": "code", + "text": "`locale`" + }, + { + "kind": "text", + "text": " prop to localize the thirdweb components.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + } + ] + }, + { + "tag": "@locale", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/en.ts", + "line": 358, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/en.ts#L358" + } + ], + "parameters": [ + { + "id": 221, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/utils/applyOverrides.ts", + "qualifiedName": "DeepPartial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 228, + "name": "ThirdwebLocale", + "package": "@thirdweb-dev/react" + } + ], + "name": "DeepPartial", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 228, + "name": "ThirdwebLocale", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 225, + "name": "es", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/es.ts", + "line": 366, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/es.ts#L366" + } + ], + "signatures": [ + { + "id": 226, + "name": "es", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Calling this function will return the default Spanish locale object to be set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) to localize the thirdweb components.\n\nYou can also overrides parts of the default locale object by passing an object with the same structure as the default locale object and only those parts will be overridden." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### Use default Locale\n" + }, + { + "kind": "code", + "text": "```tsx\nconst spanish = es();\n```" + }, + { + "kind": "text", + "text": "\n\n### Override Locale\n" + }, + { + "kind": "code", + "text": "```ts\nconst spanish = es({\n connectWallet: {\n signIn: \"Iniciar sesión\"\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\nPass it to [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)'s " + }, + { + "kind": "code", + "text": "`locale`" + }, + { + "kind": "text", + "text": " prop to localize the thirdweb components.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + } + ] + }, + { + "tag": "@locale", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/es.ts", + "line": 366, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/es.ts#L366" + } + ], + "parameters": [ + { + "id": 227, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/utils/applyOverrides.ts", + "qualifiedName": "DeepPartial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 228, + "name": "ThirdwebLocale", + "package": "@thirdweb-dev/react" + } + ], + "name": "DeepPartial", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 228, + "name": "ThirdwebLocale", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 55, + "name": "frameWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", + "line": 35, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L35" + } + ], + "signatures": [ + { + "id": 56, + "name": "frameWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Frame Wallet](https://frame.sh/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nframeWallet({\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", + "line": 35, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L35" + } + ], + "parameters": [ + { + "id": 57, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 58, + "name": "FrameWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 222, + "name": "ja", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/ja.ts", + "line": 360, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/ja.ts#L360" + } + ], + "signatures": [ + { + "id": 223, + "name": "ja", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Calling this function will return the default Japanese locale object to be set on [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider) to localize the thirdweb components.\n\nYou can also overrides parts of the default locale object by passing an object with the same structure as the default locale object and only those parts will be overridden." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### Use default Locale\n" + }, + { + "kind": "code", + "text": "```tsx\nconst japanese = ja();\n```" + }, + { + "kind": "text", + "text": "\n\n### Override Locale\n" + }, + { + "kind": "code", + "text": "```ts\nconst japanese = ja({\n connectWallet: {\n signIn: \"サインイン\"\n }\n})\n```" + }, + { + "kind": "text", + "text": "\n\nPass it to [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)'s " + }, + { + "kind": "code", + "text": "`locale`" + }, + { + "kind": "text", + "text": " prop to localize the thirdweb components.\n\n" + }, + { + "kind": "code", + "text": "```tsx\nfunction Example() {\n return (\n \n \n \n )\n}\n```" + } + ] + }, + { + "tag": "@locale", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/locales/ja.ts", + "line": 360, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/locales/ja.ts#L360" + } + ], + "parameters": [ + { + "id": 224, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/utils/applyOverrides.ts", + "qualifiedName": "DeepPartial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 228, + "name": "ThirdwebLocale", + "package": "@thirdweb-dev/react" + } + ], + "name": "DeepPartial", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 228, + "name": "ThirdwebLocale", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 179, + "name": "lightTheme", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 235, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L235" + } + ], + "signatures": [ + { + "id": 180, + "name": "lightTheme", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a custom light theme object by using the default dark theme as a base and applying overrides." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### Get the default light theme\n" + }, + { + "kind": "code", + "text": "```ts\nconst defaultLightTheme = lightTheme()\n```" + }, + { + "kind": "text", + "text": "\n\n### Create a custom light theme\n" + }, + { + "kind": "code", + "text": "```ts\nconst customTheme = lightTheme({\n colors: {\n modalBg: \"red\",\n },\n});\n```" + } + ] + }, + { + "tag": "@theme", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 235, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/design-system/index.ts#L235" + } + ], + "parameters": [ + { + "id": 181, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The overrides to apply to the default light theme." + } + ] + }, + "type": { + "type": "reference", + "target": 218, + "name": "ThemeOverrides", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 182, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 61, + "name": "localWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/localWallet/localWallet.tsx", + "line": 38, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/localWallet/localWallet.tsx#L38" + } + ], + "signatures": [ + { + "id": 62, + "name": "localWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for Local wallet which allows integrating a \"Guest Login\" experience to app.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nlocalWallet({\n persist: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/localWallet/localWallet.tsx", + "line": 38, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/localWallet/localWallet.tsx#L38" + } + ], + "parameters": [ + { + "id": 63, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional object containing the following properties to configure the wallet\n\n### persist (optional)\n\nIf " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the encrypted wallet JSON will be stored on localStorage with user's password.\nthe user will not need to enter their password again when they visit the site. Because of this, the wallet can not be auto connected.\n\nIf " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ", wallet will not be stored, and no password will be required to connect.\nthe wallet will be lost when the user leaves or reloads the page.\n\nBy default, it is set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 64, + "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": 67, + "name": "magicLink", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 153, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/magic/magicLink.tsx#L153" + } + ], + "signatures": [ + { + "id": 68, + "name": "magicLink", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Magic Link](https://magic.link/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nmagicLink({\n apiKey: \"pk_test_123\",\n emailLogin: true,\n smsLogin: true,\n oauthOptions: {\n providers: [\"google\", \"facebook\"],\n redirectURI: \"https://example.com/foo/bar\",\n },\n type: \"auth\", // or 'connect'\n});\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 153, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/magic/magicLink.tsx#L153" + } + ], + "parameters": [ + { + "id": 69, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Object containing the following properties to configure the wallet\n\n### apiKey\nYour Magic Link apiKey\n\nYou can get an API key by signing up for an account on [Magic Link's website](https://magic.link/).\n\nMust be a " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": "\n\n### magicSdkConfiguration (optional)\nConfiguration for [Magic Auth](https://magic.link/docs/auth/overview) SDK\n\nThis is only relevant if you are using " + }, + { + "kind": "code", + "text": "`type: 'auth'`" + }, + { + "kind": "text", + "text": " in your config\n\n" + }, + { + "kind": "code", + "text": "```ts\n{\n locale?: string;\n endpoint?: string;\n testMode?: boolean;\n}\n```" + }, + { + "kind": "text", + "text": "\n\n* " + }, + { + "kind": "code", + "text": "`locale`" + }, + { + "kind": "text", + "text": " - Customize the language of Magic's modal, email and confirmation screen. See [Localization](https://magic.link/docs/auth/more/customization/localization) for more.\n\n* " + }, + { + "kind": "code", + "text": "`endpoint`" + }, + { + "kind": "text", + "text": " - A URL pointing to the Magic iframe application\n\n* " + }, + { + "kind": "code", + "text": "`testMode`" + }, + { + "kind": "text", + "text": " - Enable [testMode](https://magic.link/docs/auth/introduction/test-mode) to assert the desired behavior through the email address you provide to " + }, + { + "kind": "code", + "text": "`loginWithMagicLink`" + }, + { + "kind": "text", + "text": " without having to go through the auth flow.\n\n### smsLogin (optional)\nSpecify whether you want to allow users to login with their phone number or not. It is " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " by default\n\nThis is only relevant if you are using " + }, + { + "kind": "code", + "text": "`type: 'auth'`" + }, + { + "kind": "text", + "text": "\n\nMust be a " + }, + { + "kind": "code", + "text": "`boolean`" + }, + { + "kind": "text", + "text": "\n\n### emailLogin (optional)\nSpecify whether you want to allow users to login with their email or not. It is " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " by default\n\nThis is only relevant if you are using " + }, + { + "kind": "code", + "text": "`type: 'auth'`" + }, + { + "kind": "text", + "text": "\n\nMust be a " + }, + { + "kind": "code", + "text": "`boolean`" + }, + { + "kind": "text", + "text": "\n\n### oauthOptions (optional)\nSpecify which oauth providers you support in " + }, + { + "kind": "code", + "text": "`providers`" + }, + { + "kind": "text", + "text": " array.\n\nSpecify which URI to redirect to after the oauth flow is complete in " + }, + { + "kind": "code", + "text": "`redirectURI`" + }, + { + "kind": "text", + "text": " option. If no " + }, + { + "kind": "code", + "text": "`redirectURI`" + }, + { + "kind": "text", + "text": " is specified, the user will be redirected to the current page.\n\nYou must pass full URL and not just a relative path. For example, " + }, + { + "kind": "code", + "text": "`\"https://example.com/foo\"`" + }, + { + "kind": "text", + "text": " is valid but " + }, + { + "kind": "code", + "text": "`\"/foo\"`" + }, + { + "kind": "text", + "text": " is not.\nYou can use " + }, + { + "kind": "code", + "text": "`new URL(\"/foo\", window.location.origin).href`" + }, + { + "kind": "text", + "text": " to get the full URL from a relative path based on the current origin.\n\nThis is only relevant if you are using " + }, + { + "kind": "code", + "text": "`type: 'auth'`" + }, + { + "kind": "text", + "text": "\n\nYou also need to enable the oauth providers for your apiKey from [Magic dashboard](https://dashboard.magic.link/).\n\n" + }, + { + "kind": "code", + "text": "```ts\ntype OauthOptions = {\n redirectURI?: string;\n providers: OauthProvider[];\n};\n\ntype OauthProvider =\n | \"google\"\n | \"facebook\"\n | \"apple\"\n | \"github\"\n | \"bitbucket\"\n | \"gitlab\"\n | \"linkedin\"\n | \"twitter\"\n | \"discord\"\n | \"twitch\"\n | \"microsoft\";\n```" + }, + { + "kind": "text", + "text": "\n\n### recommended (optional)\nShow this wallet as \"recommended\" in the [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 70, + "name": "MagicWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/magic/types.ts", + "qualifiedName": "ConfiguredMagicLinkWallet" + }, + "name": "ConfiguredMagicLinkWallet", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 73, + "name": "metamaskWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 75, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L75" + } + ], + "signatures": [ + { + "id": 74, + "name": "metamaskWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [MetaMask Wallet](https://metamask.io/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nmetamaskWallet({\n projectId: 'YOUR_PROJECT_ID',\n connectionMethod: 'walletConnect', // or 'metamaskBrowser',\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 75, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L75" + } + ], + "parameters": [ + { + "id": 75, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration options for the wallet\n\n### projectId (optional)\nWhen connecting Core using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI\n\n### connectionMethod (optional)\nSpecify how the connection to metamask app should be established if the user is on a mobile device.\n\nThere are two options: " + }, + { + "kind": "code", + "text": "`\"walletconnect\"`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`\"browser\"`" + }, + { + "kind": "text", + "text": "\n1. " + }, + { + "kind": "code", + "text": "`\"walletconnect\"`" + }, + { + "kind": "text", + "text": " - User will be redirected to MetaMask app and upon successful connection, user can return back to the web page.\n2. " + }, + { + "kind": "code", + "text": "`\"browser\"`" + }, + { + "kind": "text", + "text": " - User will be redirected to MetaMask app and the web page will be opened in MetaMask browser.\n\nDefault is " + }, + { + "kind": "code", + "text": "`\"walletconnect\"`" + } + ] + }, + "type": { + "type": "reference", + "target": 76, + "name": "MetamaskWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 141, + "name": "okxWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/okx/okxWallet.tsx", + "line": 48, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/okx/okxWallet.tsx#L48" + } + ], + "signatures": [ + { + "id": 142, + "name": "okxWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [OKX Wallet](https://www.okx.com/web3) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nokxWallet({\n projectId: 'YOUR_PROJECT_ID',\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/okx/okxWallet.tsx", + "line": 48, + "character": 25, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/okx/okxWallet.tsx#L48" + } + ], + "parameters": [ + { + "id": 143, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration options for the wallet\n\n### projectId (optional)\nWhen connecting Core using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 144, + "name": "OKXWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/okx.ts", + "qualifiedName": "OKXWallet" + }, + "name": "OKXWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 916, + "name": "oneKeyWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx", + "line": 59, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx#L59" + } + ], + "signatures": [ + { + "id": 917, + "name": "oneKeyWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Onekey Wallet](https://onekey.so/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\noneKeyWallet({\n projectId: 'YOUR_PROJECT_ID',\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx", + "line": 59, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/oneKey/oneKeyWallet.tsx#L59" + } + ], + "parameters": [ + { + "id": 918, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration options for the wallet\n\n### projectId (optional)\nWhen connecting Core using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 919, + "name": "OneKeyWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/onekey.ts", + "qualifiedName": "OneKeyWallet" + }, + "name": "OneKeyWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 90, + "name": "phantomWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", + "line": 38, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L38" + } + ], + "signatures": [ + { + "id": 91, + "name": "phantomWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Phantom Wallet](https://phantom.app/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nphantomWallet({\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", + "line": 38, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L38" + } + ], + "parameters": [ + { + "id": 92, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration options for the wallet\n\n### recommended (optional)\nIf " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI. Default is " + }, + { + "kind": "code", + "text": "`false`" + } + ] + }, + "type": { + "type": "reference", + "target": 93, + "name": "PhantomWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 162, + "name": "rabbyWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx", + "line": 48, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx#L48" + } + ], + "signatures": [ + { + "id": 163, + "name": "rabbyWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Rabby Wallet](https://rabby.io/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nrabbyWallet({\n projectId: 'YOUR_PROJECT_ID',\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx", + "line": 48, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rabby/rabbyWallet.tsx#L48" + } + ], + "parameters": [ + { + "id": 164, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration options for the wallet\n\n### projectId (optional)\nWhen connecting Core using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 165, + "name": "RabbyWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/rabby.ts", + "qualifiedName": "RabbyWallet" + }, + "name": "RabbyWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 96, + "name": "rainbowWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 63, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L63" + } + ], + "signatures": [ + { + "id": 97, + "name": "rainbowWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Rainbow Wallet](https://rainbow.me/en/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nrainbowWallet({\n projectId: 'YOUR_PROJECT_ID',\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 63, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L63" + } + ], + "parameters": [ + { + "id": 98, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration options for the wallet\n\n### projectId (optional)\nWhen connecting Core using the QR Code - Wallet Connect connector is used which requires a project id.\nThis project id is Your project’s unique identifier for wallet connect that can be obtained at cloud.walletconnect.com.\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 99, + "name": "RainbowWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 103, + "name": "safeWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 59, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L59" + } + ], + "signatures": [ + { + "id": 104, + "name": "safeWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Safe](https://safe.global/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nsafeWallet({\n personalWallets: [\n metamaskWallet(),\n coinbaseWallet(),\n walletConnect()\n ],\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 59, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L59" + } + ], + "parameters": [ + { + "id": 105, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration options for the wallet\n\n### personalWallets (optional)\nAn array of personal wallets to show in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal for personal wallet selection\n\n### recommended (optional)\nIf true, the wallet will be tagged as \"recommended\" in [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal UI" + } + ] + }, + "type": { + "type": "reference", + "target": 106, + "name": "SafeWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/safe/types.ts", + "qualifiedName": "SafeWalletConfig" + }, + "name": "SafeWalletConfig", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 110, + "name": "smartWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx", + "line": 50, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx#L50" + } + ], + "signatures": [ + { + "id": 111, + "name": "smartWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Smart Wallet](https://portal.thirdweb.com/references/wallets/v2/SmartWallet) which allows integrating the wallet with React\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nsmartWallet(\n metamaskWallet(),\n {\n factoryAddress: '0x...',\n gasless: true,\n }\n)\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx", + "line": 50, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx#L50" + } + ], + "parameters": [ + { + "id": 112, + "name": "walletConfig", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 113, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configuration options for the Smart Wallet\n\n### factoryAddress\nThe address of the Smart Wallet Factory contract. Must be of type " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": "\n\n### gasless\nWhether to turn on or off gasless transactions. Must be a " + }, + { + "kind": "code", + "text": "`boolean`" + }, + { + "kind": "text", + "text": ".\n\n- If set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", all gas fees will be paid by a paymaster.\n- If set to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ", all gas fees will be paid by the Smart Wallet itself (needs to be funded)." + } + ] + }, + "type": { + "type": "reference", + "target": 114, + "name": "SmartWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/smart-wallet.ts", + "qualifiedName": "SmartWallet" + }, + "name": "SmartWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 115, + "name": "trustWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 60, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L60" + } + ], + "signatures": [ + { + "id": 116, + "name": "trustWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet configurator for [Trust Wallet](https://trustwallet.com/) which allows integrating the wallet with React.\n\nIt returns a [" + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/WalletConfig) object which can be used to connect the wallet to via [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) component or [" + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/references/react/v4/useConnect) hook as mentioned in [Connecting Wallets](https://portal.thirdweb.com/react/v4/connecting-wallets) guide" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\ntrustWallet({\n projectId: 'your_project_id',\n recommended: true,\n})\n```" + } + ] + }, + { + "tag": "@wallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 60, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L60" + } + ], + "parameters": [ + { + "id": 117, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 118, + "name": "TrustWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "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": 869, + "name": "useEmbeddedWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 115, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L115" + } + ], + "signatures": [ + { + "id": 870, + "name": "useEmbeddedWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to connect " + }, + { + "kind": "code", + "text": "`EmbeddedWallet`" + }, + { + "kind": "text", + "text": " which allows users to login via Email or social logins\n\nThe " + }, + { + "kind": "code", + "text": "`embeddedWallet()`" + }, + { + "kind": "text", + "text": " should be added to [" + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/ThirdwebProvider)'s " + }, + { + "kind": "code", + "text": "`supportedWallets`" + }, + { + "kind": "text", + "text": " prop to enable auto-connection on page load" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "### Social Login\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useEmbeddedWallet } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { connect } = useEmbeddedWallet();\n\n const handleLogin = async () => {\n await connect({\n strategy: \"google\",\n });\n };\n\n return ;\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### Login with Email verification\n\n" + }, + { + "kind": "code", + "text": "```tsx\nimport { useEmbeddedWallet } from \"@thirdweb-dev/react\";\n\nfunction App() {\n const { connect, sendVerificationEmail } = useEmbeddedWallet();\n\n const sendVerificationCode = async (email: string) => {\n // send email verification code\n await sendVerificationEmail({ email });\n };\n\n const handleLogin = async (email: string, verificationCode: string) => {\n // verify email and connect\n await connect({\n strategy: \"email_verification\",\n email,\n verificationCode,\n });\n };\n\n return
...
;\n}\n```" + }, + { + "kind": "text", + "text": "\n\n\n### Available connection strategies\n\n" + }, + { + "kind": "code", + "text": "```tsx\n// email verification\ntype EmailVerificationAuthParams = {\n strategy: \"email_verification\";\n email: string;\n verificationCode: string;\n recoveryCode?: string;\n};\n\nexport type EmbeddedWalletOauthStrategy = \"google\" | \"apple\" | \"facebook\";\n\ntype OauthAuthParams = {\n strategy: EmbeddedWalletOauthStrategy;\n openedWindow?: Window;\n closeOpenedWindow?: (window: Window) => void;\n};\n\n// bring your own authentication\ntype JwtAuthParams = {\n strategy: \"jwt\";\n jwt: string;\n encryptionKey?: string;\n};\n\n// open iframe to send and input the verification code only\ntype IframeOtpAuthParams = {\n strategy: \"iframe_email_verification\";\n email: string;\n};\n\n// open iframe to enter email and verification code\ntype IframeAuthParams = {\n strategy: \"iframe\";\n};\n```" + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 115, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L115" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 871, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 872, + "name": "connect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 167, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L167" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 873, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 123, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L123" + } + ], + "signatures": [ + { + "id": 874, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 123, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L123" + } + ], + "parameters": [ + { + "id": 875, + "name": "authParams", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/embedded-wallet/types.ts", + "qualifiedName": "AuthParams" + }, + "name": "AuthParams", + "package": "@thirdweb-dev/wallets" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/embedded-wallet.ts", + "qualifiedName": "EmbeddedWallet" + }, + "name": "EmbeddedWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 876, + "name": "sendVerificationEmail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 168, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L168" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 877, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 151, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L151" + } + ], + "signatures": [ + { + "id": 878, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 151, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L151" + } + ], + "parameters": [ + { + "id": 879, + "name": "__namedParameters", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 880, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 881, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 151, + "character": 24, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L151" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 881 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 151, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L151" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/embedded-wallet/implementations/interfaces/embedded-wallets/embedded-wallets.ts", + "qualifiedName": "SendEmailOtpReturnType" + }, + "name": "SendEmailOtpReturnType", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 872, + 876 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 166, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L166" + } + ] + } + } + } + ] + }, + { + "id": 884, + "name": "useEmbeddedWalletSendVerificationEmail", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts", + "line": 9, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts#L9" + } + ], + "signatures": [ + { + "id": 885, + "name": "useEmbeddedWalletSendVerificationEmail", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@walletConnection", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts", + "line": 9, + "character": 54, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts#L9" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 886, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts", + "line": 13, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts#L13" + } + ], + "signatures": [ + { + "id": 887, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts", + "line": 13, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/useEmbeddedWalletSendVerificationEmail.ts#L13" + } + ], + "parameters": [ + { + "id": 888, + "name": "email", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/embedded-wallet/implementations/interfaces/embedded-wallets/embedded-wallets.ts", + "qualifiedName": "SendEmailOtpReturnType" + }, + "name": "SendEmailOtpReturnType", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 882, + "name": "useEmbeddedWalletUserEmail", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 193, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L193" + } + ], + "signatures": [ + { + "id": 883, + "name": "useEmbeddedWalletUserEmail", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the user's email from connected " + }, + { + "kind": "code", + "text": "`EmbeddedWallet`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst emailQuery = useEmbeddedWalletUserEmail();\n\nif (emailQuery.isFetching) {\n return
Loading...
;\n}\n\nif (emailQuery.data) {\n return
Connected with {emailQuery.data}
;\n}\n\nreturn
Not connected
;\n```" + } + ] + }, + { + "tag": "@walletConnection", + "content": [] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Hook's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " property contains the " + }, + { + "kind": "code", + "text": "`string`" + }, + { + "kind": "text", + "text": " email if " + }, + { + "kind": "code", + "text": "`EmbeddedWallet`" + }, + { + "kind": "text", + "text": " is connected, otherwise " + }, + { + "kind": "code", + "text": "`undefined`" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts", + "line": 193, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts#L193" + } + ], + "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" + } + ] + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 551, + "name": "useIsWalletModalOpen", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 103, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L103" + } + ], + "signatures": [ + { + "id": 552, + "name": "useIsWalletModalOpen", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Check if the [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) Modal is open or not" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\nconst isOpen = useIsWalletModalOpen();\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " if the [" + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/v4/components/ConnectWallet) modal is open, " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " otherwise" + } + ] + }, + { + "tag": "@connectWallet", + "content": [] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 103, + "character": 36, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L103" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 998, + "name": "usePaymentsSDKContext", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 52, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L52" + } + ], + "signatures": [ + { + "id": 999, + "name": "usePaymentsSDKContext", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/payments/Provider.tsx", + "line": 52, + "character": 37, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/payments/Provider.tsx#L52" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/payments/Provider.tsx", + "qualifiedName": "SDKContext" + }, + "name": "SDKContext", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 923, + "name": "useResolvedMediaType", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 762, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/d5d8d2c/packages/react/src/evm/components/MediaRenderer.tsx#L762" + } + ], + "signatures": [ + { + "id": 924, + "name": "useResolvedMediaType", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for resolving the media type and URL of a given URI (including IPFS URIs).\n\nThe " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": " component renders the relevant.\nHTML element for a given URL, including IPFS URIs. e.g. " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": " for images, " + }, + { + "kind": "code", + "text": "`