[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-metamask-setup-multichain-app":3,"mdc--j0jo07-key":35,"related-repo-metamask-setup-multichain-app":4852,"related-org-metamask-setup-multichain-app":4949},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":25,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"setup-multichain-app","build multichain applications with MetaMask","Set up a multichain app using createMultichainClient from @metamask\u002Fconnect-multichain. Covers EVM + Solana scopes, invokeMethod for both ecosystems, session events, headless mode, getInfuraRpcUrls, selective disconnect, and singleton behavior.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"metamask","MetaMask","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmetamask.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Web3","web3","tag",{"name":17,"slug":18,"type":15},"Solana","solana",{"name":20,"slug":21,"type":15},"API Development","api-development",{"name":23,"slug":24,"type":15},"Ethereum","ethereum",2,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fmetamask-connect-cursor-plugin","2026-07-13T06:11:58.517543",null,[],{"repoUrl":26,"stars":25,"forks":25,"topics":31,"description":32},[],"Cursor plugin for building dApps with the MetaMask Connect SDK — skills, rules, and agents for EVM, Solana, and multichain integrations","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fmetamask-connect-cursor-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fsetup-multichain-app","---\nname: setup-multichain-app\ndescription: Set up a multichain app using createMultichainClient from @metamask\u002Fconnect-multichain. Covers EVM + Solana scopes, invokeMethod for both ecosystems, session events, headless mode, getInfuraRpcUrls, selective disconnect, and singleton behavior.\n---\n# Setup Multichain App with MetaMask\n\n## When to use\n\nUse this skill when:\n- Building an app that needs both EVM and Solana wallet connectivity through a single MetaMask session\n- Using `createMultichainClient` from `@metamask\u002Fconnect-multichain`\n- Calling `invokeMethod` with CAIP-2 scopes for cross-chain RPC or signing\n- Handling `wallet_sessionChanged` events for multichain session state\n- Running in headless mode with custom QR rendering via `display_uri`\n- Configuring `getInfuraRpcUrls` for EVM and Solana RPC transport\n\n## Workflow\n\n### Step 1: Install dependencies\n\n```bash\nnpm install @metamask\u002Fconnect-multichain\n```\n\nFor Solana transaction building (optional):\n\n```bash\nnpm install @solana\u002Fweb3.js\n```\n\n### Step 2: Create the multichain client\n\n`createMultichainClient` is a **singleton** — calling it multiple times returns the same instance with merged options. Never recreate it per render.\n\n```typescript\nimport { createMultichainClient, getInfuraRpcUrls } from '@metamask\u002Fconnect-multichain';\n\nconst client = await createMultichainClient({\n  dapp: {\n    name: 'My Multichain DApp',\n    url: window.location.href,\n    iconUrl: 'https:\u002F\u002Fmydapp.com\u002Ficon.png', \u002F\u002F optional (or use base64Icon for embedded icons)\n  },\n  api: {\n    supportedNetworks: {\n      ...getInfuraRpcUrls({ infuraApiKey: 'YOUR_INFURA_API_KEY', caipChainIds: ['eip155:1', 'eip155:137', 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'] }),\n    },\n  },\n  ui: {\n    headless: false, \u002F\u002F set true for custom QR rendering\n  },\n});\n```\n\n**`getInfuraRpcUrls({ infuraApiKey, caipChainIds? })`** returns a CAIP-2 keyed map of Infura RPC URLs for supported networks (EVM chains and Solana). Pass `caipChainIds` to limit the output to specific chains. Merge with any custom network RPCs.\n\n**Singleton behavior:** The `dapp` object from the first call is used for the lifetime of the client — it is ignored on subsequent calls (not merged). Call `createMultichainClient` once at app startup.\n\n### Step 3: Connect with mixed EVM + Solana scopes\n\nScopes use CAIP-2 format: `'eip155:N'` for EVM chains, `'solana:\u003CgenesisHash>'` for Solana.\n\n```typescript\n\u002F\u002F connect() resolves with no value (Promise\u003Cvoid>)\nawait client.connect(\n  [\n    'eip155:1',      \u002F\u002F Ethereum mainnet\n    'eip155:137',    \u002F\u002F Polygon\n    'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp', \u002F\u002F Solana mainnet\n  ],\n  [], \u002F\u002F caipAccountIds (empty for initial connection)\n);\n\n\u002F\u002F Session data arrives via the wallet_sessionChanged event (see Step 6),\n\u002F\u002F or read it on demand:\nconst session = await client.provider.getSession();\nconsole.log(session?.sessionScopes); \u002F\u002F approved scopes with their accounts\n```\n\n**Solana CAIP-2 identifiers:**\n\n| Network  | CAIP-2 ID |\n|----------|-----------|\n| Mainnet  | `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` |\n| Devnet   | `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1` |\n| Testnet  | `solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z` |\n\nAll three Solana scopes are modeled by the SDK; non-mainnet availability depends on the connected MetaMask build\u002Fversion, so don't assume a cluster is present — handle connection errors.\n\nYou can optionally pass `caipAccountIds` (second argument) to hint at specific accounts:\n\n```typescript\nawait client.connect(\n  ['eip155:1'],\n  ['eip155:1:0xYourAddress'],\n);\n```\n\n### Step 4: Invoke EVM methods\n\nUse `invokeMethod` with a CAIP-2 scope and a JSON-RPC request object.\n\n**EVM read methods** (eth_call, eth_getBalance, eth_blockNumber, etc.) route through the **RPC node**. **Signing methods** (eth_sendTransaction, personal_sign, etc.) route through the **wallet**.\n\n```typescript\n\u002F\u002F Read: eth_getBalance via RPC node\nconst balance = await client.invokeMethod({\n  scope: 'eip155:1',\n  request: {\n    method: 'eth_getBalance',\n    params: ['0xYourAddress', 'latest'],\n  },\n});\n\n\u002F\u002F Sign: personal_sign via wallet\nconst signature = await client.invokeMethod({\n  scope: 'eip155:1',\n  request: {\n    method: 'personal_sign',\n    params: ['0x48656c6c6f', '0xYourAddress'],\n  },\n});\n\n\u002F\u002F Send transaction via wallet\nconst txHash = await client.invokeMethod({\n  scope: 'eip155:137',\n  request: {\n    method: 'eth_sendTransaction',\n    params: [{\n      from: '0xYourAddress',\n      to: '0xRecipient',\n      value: '0x2386F26FC10000', \u002F\u002F 0.01 ETH in wei (hex)\n      gas: '0x5208',\n    }],\n  },\n});\n```\n\n### Step 5: Invoke Solana methods\n\n**All Solana methods route through the wallet** — only EVM read methods are routed to RPC nodes. (The Solana entries in `supportedNetworks` declare which networks the dapp uses; they are not used to route Solana requests.)\n\nMethod names have **no `solana_` prefix**, and params take an `account: { address }` object:\n\n```typescript\nconst SOLANA_MAINNET = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp';\n\n\u002F\u002F Sign a message\nconst signResult = await client.invokeMethod({\n  scope: SOLANA_MAINNET,\n  request: {\n    method: 'signMessage',\n    params: {\n      account: { address: 'YourSolanaAddress' },\n      message: btoa('Hello from Solana!'), \u002F\u002F base64-encoded message bytes\n    },\n  },\n});\n\u002F\u002F signResult: { signature: \u003Cbase58 string>, signedMessage: \u003Cbase64>, signatureType: 'ed25519' }\n\n\u002F\u002F Sign and send a transaction\nconst txResult = await client.invokeMethod({\n  scope: SOLANA_MAINNET,\n  request: {\n    method: 'signAndSendTransaction',\n    params: {\n      account: { address: 'YourSolanaAddress' },\n      transaction: base64EncodedTransaction, \u002F\u002F base64-encoded serialized transaction\n      scope: SOLANA_MAINNET,\n    },\n  },\n});\n\u002F\u002F txResult: { signature: \u003Cbase58 transaction signature> }\n```\n\nTo sign without sending, use `signTransaction` (same params) — it returns `{ signedTransaction: \u003Cbase64> }`.\n\n### Step 6: Listen for session events\n\nRegister event listeners **before** calling `connect()`.\n\n```typescript\n\u002F\u002F Session state changes (accounts added\u002Fremoved, scopes changed)\n\u002F\u002F Payload is SessionData | undefined — scopes live under sessionScopes\nclient.on('wallet_sessionChanged', (session) => {\n  const scopes = session?.sessionScopes ?? {};\n  console.log('Approved scopes:', Object.keys(scopes));\n  \u002F\u002F Accounts are CAIP-10 strings, e.g. 'eip155:1:0xabc...' — take the last segment for the address\n});\n\n\u002F\u002F Connection status changes\nclient.on('stateChanged', (status) => {\n  \u002F\u002F status: 'loaded' | 'pending' | 'connecting' | 'connected' | 'disconnected'\n  console.log('Connection status:', status);\n});\n\n\u002F\u002F display_uri fires during 'connecting' state — headless QR code flow\nclient.on('display_uri', (uri: string) => {\n  renderQrCode(uri);\n});\n```\n\n**`display_uri` timing:** The event only fires during the connecting phase. Register the listener before `connect()`. In headless mode, if an error occurs during connection, do not attempt to regenerate the QR — start a new `connect()` call instead.\n\n### Step 7: Headless mode\n\nFor full control over the connection UI:\n\n```typescript\nconst client = await createMultichainClient({\n  dapp: { name: 'My DApp', url: window.location.href },\n  api: {\n    supportedNetworks: getInfuraRpcUrls({ infuraApiKey: 'YOUR_INFURA_API_KEY' }),\n  },\n  ui: { headless: true },\n});\n\nclient.on('display_uri', (uri: string) => {\n  \u002F\u002F Render your own QR code or deeplink UI\n  showCustomQrModal(uri);\n});\n\nawait client.connect(\n  ['eip155:1', 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'],\n  [],\n);\n\n\u002F\u002F Hide QR modal on successful connection\nhideCustomQrModal();\n```\n\n### Step 8: Selective disconnect\n\n```typescript\n\u002F\u002F Disconnect only Solana scope — EVM session stays active\nawait client.disconnect(['solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp']);\n\n\u002F\u002F Full disconnect — revoke all scopes, terminate session\nawait client.disconnect();\n```\n\n### Step 9: Error handling\n\n```typescript\nimport { RPCInvokeMethodErr } from '@metamask\u002Fconnect-multichain';\n\ntry {\n  await client.connect(['eip155:1'], []);\n} catch (err: any) {\n  if (err?.message?.includes('Existing connection is pending')) {\n    \u002F\u002F MWP: a previous connect() is still pending — do NOT retry.\n    \u002F\u002F Show \"Check your MetaMask Mobile app to continue\" message.\n    \u002F\u002F (This error has no numeric code.)\n  } else if (err?.code === 4001 || \u002Freject|denied|cancel\u002Fi.test(err?.message ?? '')) {\n    \u002F\u002F User rejected the connection — show retry UI\n  } else {\n    console.error('Connection error:', err);\n  }\n}\n\n\u002F\u002F invokeMethod errors are wrapped in RPCInvokeMethodErr (err.code === 53).\n\u002F\u002F The wallet's original EIP-1193 \u002F JSON-RPC code is on err.rpcCode\n\u002F\u002F (with err.rpcMessage and err.rpcData for revert data).\ntry {\n  await client.invokeMethod({\n    scope: 'eip155:1',\n    request: { method: 'personal_sign', params: ['0x48656c6c6f', '0xYourAddress'] },\n  });\n} catch (err) {\n  if (err instanceof RPCInvokeMethodErr && err.rpcCode === 4001) {\n    \u002F\u002F User rejected the signature — not an app error\n  } else {\n    throw err;\n  }\n}\n```\n\n## Important Notes\n\n- **Singleton:** `createMultichainClient` is a singleton. The `dapp` object from the first call is used for the client's lifetime (later calls' `dapp` is ignored). Call it once at app startup and reuse the returned client.\n- **Concurrent connect throws on MWP:** Never call `connect()` while a previous `connect()` is still pending — it throws a plain `Error` (\"Existing connection is pending...\") with **no numeric code**. (`-32002` only comes from the extension transport's own RPC queue.)\n- **EVM read vs sign routing:** EVM read methods (eth_call, eth_getBalance, etc.) go to the RPC node configured in `supportedNetworks`. Signing methods go to the wallet. All Solana methods always go to the wallet.\n- **Scope format:** EVM scopes are `'eip155:\u003CchainId-decimal>'` (e.g., `'eip155:1'`). Solana scopes use the genesis hash: `'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'`.\n- **`display_uri`:** Only fires during the connecting phase. Register before `connect()`. Do not regenerate QR on connection error — start a fresh `connect()`.\n- **Selective disconnect:** Passing specific scopes only revokes those scopes. Omit arguments to fully terminate the session.\n- **Node.js \u002F React Native:** `dapp.url` is **required** in non-browser environments (there is no `window.location`).\n- **Solana networks:** mainnet, devnet, and testnet scopes are all modeled by the SDK; non-mainnet availability depends on the connected MetaMask build\u002Fversion, so handle connection errors rather than assuming a cluster is present.\n",{"data":36,"body":37},{"name":4,"description":6},{"type":38,"children":39},"root",[40,49,56,62,142,148,155,189,194,217,223,241,744,766,791,797,818,1097,1105,1183,1188,1201,1299,1305,1317,1347,2066,2072,2090,2118,2671,2691,2697,2716,3197,3226,3232,3237,3719,3725,3828,3834,4630,4636,4846],{"type":41,"tag":42,"props":43,"children":45},"element","h1",{"id":44},"setup-multichain-app-with-metamask",[46],{"type":47,"value":48},"text","Setup Multichain App with MetaMask",{"type":41,"tag":50,"props":51,"children":53},"h2",{"id":52},"when-to-use",[54],{"type":47,"value":55},"When to use",{"type":41,"tag":57,"props":58,"children":59},"p",{},[60],{"type":47,"value":61},"Use this skill when:",{"type":41,"tag":63,"props":64,"children":65},"ul",{},[66,72,92,105,118,129],{"type":41,"tag":67,"props":68,"children":69},"li",{},[70],{"type":47,"value":71},"Building an app that needs both EVM and Solana wallet connectivity through a single MetaMask session",{"type":41,"tag":67,"props":73,"children":74},{},[75,77,84,86],{"type":47,"value":76},"Using ",{"type":41,"tag":78,"props":79,"children":81},"code",{"className":80},[],[82],{"type":47,"value":83},"createMultichainClient",{"type":47,"value":85}," from ",{"type":41,"tag":78,"props":87,"children":89},{"className":88},[],[90],{"type":47,"value":91},"@metamask\u002Fconnect-multichain",{"type":41,"tag":67,"props":93,"children":94},{},[95,97,103],{"type":47,"value":96},"Calling ",{"type":41,"tag":78,"props":98,"children":100},{"className":99},[],[101],{"type":47,"value":102},"invokeMethod",{"type":47,"value":104}," with CAIP-2 scopes for cross-chain RPC or signing",{"type":41,"tag":67,"props":106,"children":107},{},[108,110,116],{"type":47,"value":109},"Handling ",{"type":41,"tag":78,"props":111,"children":113},{"className":112},[],[114],{"type":47,"value":115},"wallet_sessionChanged",{"type":47,"value":117}," events for multichain session state",{"type":41,"tag":67,"props":119,"children":120},{},[121,123],{"type":47,"value":122},"Running in headless mode with custom QR rendering via ",{"type":41,"tag":78,"props":124,"children":126},{"className":125},[],[127],{"type":47,"value":128},"display_uri",{"type":41,"tag":67,"props":130,"children":131},{},[132,134,140],{"type":47,"value":133},"Configuring ",{"type":41,"tag":78,"props":135,"children":137},{"className":136},[],[138],{"type":47,"value":139},"getInfuraRpcUrls",{"type":47,"value":141}," for EVM and Solana RPC transport",{"type":41,"tag":50,"props":143,"children":145},{"id":144},"workflow",[146],{"type":47,"value":147},"Workflow",{"type":41,"tag":149,"props":150,"children":152},"h3",{"id":151},"step-1-install-dependencies",[153],{"type":47,"value":154},"Step 1: Install dependencies",{"type":41,"tag":156,"props":157,"children":162},"pre",{"className":158,"code":159,"language":160,"meta":161,"style":161},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @metamask\u002Fconnect-multichain\n","bash","",[163],{"type":41,"tag":78,"props":164,"children":165},{"__ignoreMap":161},[166],{"type":41,"tag":167,"props":168,"children":171},"span",{"class":169,"line":170},"line",1,[172,178,184],{"type":41,"tag":167,"props":173,"children":175},{"style":174},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[176],{"type":47,"value":177},"npm",{"type":41,"tag":167,"props":179,"children":181},{"style":180},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[182],{"type":47,"value":183}," install",{"type":41,"tag":167,"props":185,"children":186},{"style":180},[187],{"type":47,"value":188}," @metamask\u002Fconnect-multichain\n",{"type":41,"tag":57,"props":190,"children":191},{},[192],{"type":47,"value":193},"For Solana transaction building (optional):",{"type":41,"tag":156,"props":195,"children":197},{"className":158,"code":196,"language":160,"meta":161,"style":161},"npm install @solana\u002Fweb3.js\n",[198],{"type":41,"tag":78,"props":199,"children":200},{"__ignoreMap":161},[201],{"type":41,"tag":167,"props":202,"children":203},{"class":169,"line":170},[204,208,212],{"type":41,"tag":167,"props":205,"children":206},{"style":174},[207],{"type":47,"value":177},{"type":41,"tag":167,"props":209,"children":210},{"style":180},[211],{"type":47,"value":183},{"type":41,"tag":167,"props":213,"children":214},{"style":180},[215],{"type":47,"value":216}," @solana\u002Fweb3.js\n",{"type":41,"tag":149,"props":218,"children":220},{"id":219},"step-2-create-the-multichain-client",[221],{"type":47,"value":222},"Step 2: Create the multichain client",{"type":41,"tag":57,"props":224,"children":225},{},[226,231,233,239],{"type":41,"tag":78,"props":227,"children":229},{"className":228},[],[230],{"type":47,"value":83},{"type":47,"value":232}," is a ",{"type":41,"tag":234,"props":235,"children":236},"strong",{},[237],{"type":47,"value":238},"singleton",{"type":47,"value":240}," — calling it multiple times returns the same instance with merged options. Never recreate it per render.",{"type":41,"tag":156,"props":242,"children":246},{"className":243,"code":244,"language":245,"meta":161,"style":161},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createMultichainClient, getInfuraRpcUrls } from '@metamask\u002Fconnect-multichain';\n\nconst client = await createMultichainClient({\n  dapp: {\n    name: 'My Multichain DApp',\n    url: window.location.href,\n    iconUrl: 'https:\u002F\u002Fmydapp.com\u002Ficon.png', \u002F\u002F optional (or use base64Icon for embedded icons)\n  },\n  api: {\n    supportedNetworks: {\n      ...getInfuraRpcUrls({ infuraApiKey: 'YOUR_INFURA_API_KEY', caipChainIds: ['eip155:1', 'eip155:137', 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'] }),\n    },\n  },\n  ui: {\n    headless: false, \u002F\u002F set true for custom QR rendering\n  },\n});\n","typescript",[247],{"type":41,"tag":78,"props":248,"children":249},{"__ignoreMap":161},[250,310,319,359,379,410,451,487,496,513,530,658,667,675,692,720,728],{"type":41,"tag":167,"props":251,"children":252},{"class":169,"line":170},[253,259,265,271,276,281,286,291,296,300,305],{"type":41,"tag":167,"props":254,"children":256},{"style":255},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[257],{"type":47,"value":258},"import",{"type":41,"tag":167,"props":260,"children":262},{"style":261},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[263],{"type":47,"value":264}," {",{"type":41,"tag":167,"props":266,"children":268},{"style":267},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[269],{"type":47,"value":270}," createMultichainClient",{"type":41,"tag":167,"props":272,"children":273},{"style":261},[274],{"type":47,"value":275},",",{"type":41,"tag":167,"props":277,"children":278},{"style":267},[279],{"type":47,"value":280}," getInfuraRpcUrls",{"type":41,"tag":167,"props":282,"children":283},{"style":261},[284],{"type":47,"value":285}," }",{"type":41,"tag":167,"props":287,"children":288},{"style":255},[289],{"type":47,"value":290}," from",{"type":41,"tag":167,"props":292,"children":293},{"style":261},[294],{"type":47,"value":295}," '",{"type":41,"tag":167,"props":297,"children":298},{"style":180},[299],{"type":47,"value":91},{"type":41,"tag":167,"props":301,"children":302},{"style":261},[303],{"type":47,"value":304},"'",{"type":41,"tag":167,"props":306,"children":307},{"style":261},[308],{"type":47,"value":309},";\n",{"type":41,"tag":167,"props":311,"children":312},{"class":169,"line":25},[313],{"type":41,"tag":167,"props":314,"children":316},{"emptyLinePlaceholder":315},true,[317],{"type":47,"value":318},"\n",{"type":41,"tag":167,"props":320,"children":322},{"class":169,"line":321},3,[323,329,334,339,344,349,354],{"type":41,"tag":167,"props":324,"children":326},{"style":325},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[327],{"type":47,"value":328},"const",{"type":41,"tag":167,"props":330,"children":331},{"style":267},[332],{"type":47,"value":333}," client ",{"type":41,"tag":167,"props":335,"children":336},{"style":261},[337],{"type":47,"value":338},"=",{"type":41,"tag":167,"props":340,"children":341},{"style":255},[342],{"type":47,"value":343}," await",{"type":41,"tag":167,"props":345,"children":347},{"style":346},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[348],{"type":47,"value":270},{"type":41,"tag":167,"props":350,"children":351},{"style":267},[352],{"type":47,"value":353},"(",{"type":41,"tag":167,"props":355,"children":356},{"style":261},[357],{"type":47,"value":358},"{\n",{"type":41,"tag":167,"props":360,"children":362},{"class":169,"line":361},4,[363,369,374],{"type":41,"tag":167,"props":364,"children":366},{"style":365},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[367],{"type":47,"value":368},"  dapp",{"type":41,"tag":167,"props":370,"children":371},{"style":261},[372],{"type":47,"value":373},":",{"type":41,"tag":167,"props":375,"children":376},{"style":261},[377],{"type":47,"value":378}," {\n",{"type":41,"tag":167,"props":380,"children":382},{"class":169,"line":381},5,[383,388,392,396,401,405],{"type":41,"tag":167,"props":384,"children":385},{"style":365},[386],{"type":47,"value":387},"    name",{"type":41,"tag":167,"props":389,"children":390},{"style":261},[391],{"type":47,"value":373},{"type":41,"tag":167,"props":393,"children":394},{"style":261},[395],{"type":47,"value":295},{"type":41,"tag":167,"props":397,"children":398},{"style":180},[399],{"type":47,"value":400},"My Multichain DApp",{"type":41,"tag":167,"props":402,"children":403},{"style":261},[404],{"type":47,"value":304},{"type":41,"tag":167,"props":406,"children":407},{"style":261},[408],{"type":47,"value":409},",\n",{"type":41,"tag":167,"props":411,"children":413},{"class":169,"line":412},6,[414,419,423,428,433,438,442,447],{"type":41,"tag":167,"props":415,"children":416},{"style":365},[417],{"type":47,"value":418},"    url",{"type":41,"tag":167,"props":420,"children":421},{"style":261},[422],{"type":47,"value":373},{"type":41,"tag":167,"props":424,"children":425},{"style":267},[426],{"type":47,"value":427}," window",{"type":41,"tag":167,"props":429,"children":430},{"style":261},[431],{"type":47,"value":432},".",{"type":41,"tag":167,"props":434,"children":435},{"style":267},[436],{"type":47,"value":437},"location",{"type":41,"tag":167,"props":439,"children":440},{"style":261},[441],{"type":47,"value":432},{"type":41,"tag":167,"props":443,"children":444},{"style":267},[445],{"type":47,"value":446},"href",{"type":41,"tag":167,"props":448,"children":449},{"style":261},[450],{"type":47,"value":409},{"type":41,"tag":167,"props":452,"children":454},{"class":169,"line":453},7,[455,460,464,468,473,477,481],{"type":41,"tag":167,"props":456,"children":457},{"style":365},[458],{"type":47,"value":459},"    iconUrl",{"type":41,"tag":167,"props":461,"children":462},{"style":261},[463],{"type":47,"value":373},{"type":41,"tag":167,"props":465,"children":466},{"style":261},[467],{"type":47,"value":295},{"type":41,"tag":167,"props":469,"children":470},{"style":180},[471],{"type":47,"value":472},"https:\u002F\u002Fmydapp.com\u002Ficon.png",{"type":41,"tag":167,"props":474,"children":475},{"style":261},[476],{"type":47,"value":304},{"type":41,"tag":167,"props":478,"children":479},{"style":261},[480],{"type":47,"value":275},{"type":41,"tag":167,"props":482,"children":484},{"style":483},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[485],{"type":47,"value":486}," \u002F\u002F optional (or use base64Icon for embedded icons)\n",{"type":41,"tag":167,"props":488,"children":490},{"class":169,"line":489},8,[491],{"type":41,"tag":167,"props":492,"children":493},{"style":261},[494],{"type":47,"value":495},"  },\n",{"type":41,"tag":167,"props":497,"children":499},{"class":169,"line":498},9,[500,505,509],{"type":41,"tag":167,"props":501,"children":502},{"style":365},[503],{"type":47,"value":504},"  api",{"type":41,"tag":167,"props":506,"children":507},{"style":261},[508],{"type":47,"value":373},{"type":41,"tag":167,"props":510,"children":511},{"style":261},[512],{"type":47,"value":378},{"type":41,"tag":167,"props":514,"children":516},{"class":169,"line":515},10,[517,522,526],{"type":41,"tag":167,"props":518,"children":519},{"style":365},[520],{"type":47,"value":521},"    supportedNetworks",{"type":41,"tag":167,"props":523,"children":524},{"style":261},[525],{"type":47,"value":373},{"type":41,"tag":167,"props":527,"children":528},{"style":261},[529],{"type":47,"value":378},{"type":41,"tag":167,"props":531,"children":533},{"class":169,"line":532},11,[534,539,543,547,552,557,561,565,570,574,578,583,587,592,596,601,605,609,613,618,622,626,630,635,639,644,649,654],{"type":41,"tag":167,"props":535,"children":536},{"style":261},[537],{"type":47,"value":538},"      ...",{"type":41,"tag":167,"props":540,"children":541},{"style":346},[542],{"type":47,"value":139},{"type":41,"tag":167,"props":544,"children":545},{"style":267},[546],{"type":47,"value":353},{"type":41,"tag":167,"props":548,"children":549},{"style":261},[550],{"type":47,"value":551},"{",{"type":41,"tag":167,"props":553,"children":554},{"style":365},[555],{"type":47,"value":556}," infuraApiKey",{"type":41,"tag":167,"props":558,"children":559},{"style":261},[560],{"type":47,"value":373},{"type":41,"tag":167,"props":562,"children":563},{"style":261},[564],{"type":47,"value":295},{"type":41,"tag":167,"props":566,"children":567},{"style":180},[568],{"type":47,"value":569},"YOUR_INFURA_API_KEY",{"type":41,"tag":167,"props":571,"children":572},{"style":261},[573],{"type":47,"value":304},{"type":41,"tag":167,"props":575,"children":576},{"style":261},[577],{"type":47,"value":275},{"type":41,"tag":167,"props":579,"children":580},{"style":365},[581],{"type":47,"value":582}," caipChainIds",{"type":41,"tag":167,"props":584,"children":585},{"style":261},[586],{"type":47,"value":373},{"type":41,"tag":167,"props":588,"children":589},{"style":267},[590],{"type":47,"value":591}," [",{"type":41,"tag":167,"props":593,"children":594},{"style":261},[595],{"type":47,"value":304},{"type":41,"tag":167,"props":597,"children":598},{"style":180},[599],{"type":47,"value":600},"eip155:1",{"type":41,"tag":167,"props":602,"children":603},{"style":261},[604],{"type":47,"value":304},{"type":41,"tag":167,"props":606,"children":607},{"style":261},[608],{"type":47,"value":275},{"type":41,"tag":167,"props":610,"children":611},{"style":261},[612],{"type":47,"value":295},{"type":41,"tag":167,"props":614,"children":615},{"style":180},[616],{"type":47,"value":617},"eip155:137",{"type":41,"tag":167,"props":619,"children":620},{"style":261},[621],{"type":47,"value":304},{"type":41,"tag":167,"props":623,"children":624},{"style":261},[625],{"type":47,"value":275},{"type":41,"tag":167,"props":627,"children":628},{"style":261},[629],{"type":47,"value":295},{"type":41,"tag":167,"props":631,"children":632},{"style":180},[633],{"type":47,"value":634},"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",{"type":41,"tag":167,"props":636,"children":637},{"style":261},[638],{"type":47,"value":304},{"type":41,"tag":167,"props":640,"children":641},{"style":267},[642],{"type":47,"value":643},"] ",{"type":41,"tag":167,"props":645,"children":646},{"style":261},[647],{"type":47,"value":648},"}",{"type":41,"tag":167,"props":650,"children":651},{"style":267},[652],{"type":47,"value":653},")",{"type":41,"tag":167,"props":655,"children":656},{"style":261},[657],{"type":47,"value":409},{"type":41,"tag":167,"props":659,"children":661},{"class":169,"line":660},12,[662],{"type":41,"tag":167,"props":663,"children":664},{"style":261},[665],{"type":47,"value":666},"    },\n",{"type":41,"tag":167,"props":668,"children":670},{"class":169,"line":669},13,[671],{"type":41,"tag":167,"props":672,"children":673},{"style":261},[674],{"type":47,"value":495},{"type":41,"tag":167,"props":676,"children":678},{"class":169,"line":677},14,[679,684,688],{"type":41,"tag":167,"props":680,"children":681},{"style":365},[682],{"type":47,"value":683},"  ui",{"type":41,"tag":167,"props":685,"children":686},{"style":261},[687],{"type":47,"value":373},{"type":41,"tag":167,"props":689,"children":690},{"style":261},[691],{"type":47,"value":378},{"type":41,"tag":167,"props":693,"children":695},{"class":169,"line":694},15,[696,701,705,711,715],{"type":41,"tag":167,"props":697,"children":698},{"style":365},[699],{"type":47,"value":700},"    headless",{"type":41,"tag":167,"props":702,"children":703},{"style":261},[704],{"type":47,"value":373},{"type":41,"tag":167,"props":706,"children":708},{"style":707},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[709],{"type":47,"value":710}," false",{"type":41,"tag":167,"props":712,"children":713},{"style":261},[714],{"type":47,"value":275},{"type":41,"tag":167,"props":716,"children":717},{"style":483},[718],{"type":47,"value":719}," \u002F\u002F set true for custom QR rendering\n",{"type":41,"tag":167,"props":721,"children":723},{"class":169,"line":722},16,[724],{"type":41,"tag":167,"props":725,"children":726},{"style":261},[727],{"type":47,"value":495},{"type":41,"tag":167,"props":729,"children":731},{"class":169,"line":730},17,[732,736,740],{"type":41,"tag":167,"props":733,"children":734},{"style":261},[735],{"type":47,"value":648},{"type":41,"tag":167,"props":737,"children":738},{"style":267},[739],{"type":47,"value":653},{"type":41,"tag":167,"props":741,"children":742},{"style":261},[743],{"type":47,"value":309},{"type":41,"tag":57,"props":745,"children":746},{},[747,756,758,764],{"type":41,"tag":234,"props":748,"children":749},{},[750],{"type":41,"tag":78,"props":751,"children":753},{"className":752},[],[754],{"type":47,"value":755},"getInfuraRpcUrls({ infuraApiKey, caipChainIds? })",{"type":47,"value":757}," returns a CAIP-2 keyed map of Infura RPC URLs for supported networks (EVM chains and Solana). Pass ",{"type":41,"tag":78,"props":759,"children":761},{"className":760},[],[762],{"type":47,"value":763},"caipChainIds",{"type":47,"value":765}," to limit the output to specific chains. Merge with any custom network RPCs.",{"type":41,"tag":57,"props":767,"children":768},{},[769,774,776,782,784,789],{"type":41,"tag":234,"props":770,"children":771},{},[772],{"type":47,"value":773},"Singleton behavior:",{"type":47,"value":775}," The ",{"type":41,"tag":78,"props":777,"children":779},{"className":778},[],[780],{"type":47,"value":781},"dapp",{"type":47,"value":783}," object from the first call is used for the lifetime of the client — it is ignored on subsequent calls (not merged). Call ",{"type":41,"tag":78,"props":785,"children":787},{"className":786},[],[788],{"type":47,"value":83},{"type":47,"value":790}," once at app startup.",{"type":41,"tag":149,"props":792,"children":794},{"id":793},"step-3-connect-with-mixed-evm-solana-scopes",[795],{"type":47,"value":796},"Step 3: Connect with mixed EVM + Solana scopes",{"type":41,"tag":57,"props":798,"children":799},{},[800,802,808,810,816],{"type":47,"value":801},"Scopes use CAIP-2 format: ",{"type":41,"tag":78,"props":803,"children":805},{"className":804},[],[806],{"type":47,"value":807},"'eip155:N'",{"type":47,"value":809}," for EVM chains, ",{"type":41,"tag":78,"props":811,"children":813},{"className":812},[],[814],{"type":47,"value":815},"'solana:\u003CgenesisHash>'",{"type":47,"value":817}," for Solana.",{"type":41,"tag":156,"props":819,"children":821},{"className":243,"code":820,"language":245,"meta":161,"style":161},"\u002F\u002F connect() resolves with no value (Promise\u003Cvoid>)\nawait client.connect(\n  [\n    'eip155:1',      \u002F\u002F Ethereum mainnet\n    'eip155:137',    \u002F\u002F Polygon\n    'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp', \u002F\u002F Solana mainnet\n  ],\n  [], \u002F\u002F caipAccountIds (empty for initial connection)\n);\n\n\u002F\u002F Session data arrives via the wallet_sessionChanged event (see Step 6),\n\u002F\u002F or read it on demand:\nconst session = await client.provider.getSession();\nconsole.log(session?.sessionScopes); \u002F\u002F approved scopes with their accounts\n",[822],{"type":41,"tag":78,"props":823,"children":824},{"__ignoreMap":161},[825,833,860,868,893,917,941,953,970,981,988,996,1004,1055],{"type":41,"tag":167,"props":826,"children":827},{"class":169,"line":170},[828],{"type":41,"tag":167,"props":829,"children":830},{"style":483},[831],{"type":47,"value":832},"\u002F\u002F connect() resolves with no value (Promise\u003Cvoid>)\n",{"type":41,"tag":167,"props":834,"children":835},{"class":169,"line":25},[836,841,846,850,855],{"type":41,"tag":167,"props":837,"children":838},{"style":255},[839],{"type":47,"value":840},"await",{"type":41,"tag":167,"props":842,"children":843},{"style":267},[844],{"type":47,"value":845}," client",{"type":41,"tag":167,"props":847,"children":848},{"style":261},[849],{"type":47,"value":432},{"type":41,"tag":167,"props":851,"children":852},{"style":346},[853],{"type":47,"value":854},"connect",{"type":41,"tag":167,"props":856,"children":857},{"style":267},[858],{"type":47,"value":859},"(\n",{"type":41,"tag":167,"props":861,"children":862},{"class":169,"line":321},[863],{"type":41,"tag":167,"props":864,"children":865},{"style":267},[866],{"type":47,"value":867},"  [\n",{"type":41,"tag":167,"props":869,"children":870},{"class":169,"line":361},[871,876,880,884,888],{"type":41,"tag":167,"props":872,"children":873},{"style":261},[874],{"type":47,"value":875},"    '",{"type":41,"tag":167,"props":877,"children":878},{"style":180},[879],{"type":47,"value":600},{"type":41,"tag":167,"props":881,"children":882},{"style":261},[883],{"type":47,"value":304},{"type":41,"tag":167,"props":885,"children":886},{"style":261},[887],{"type":47,"value":275},{"type":41,"tag":167,"props":889,"children":890},{"style":483},[891],{"type":47,"value":892},"      \u002F\u002F Ethereum mainnet\n",{"type":41,"tag":167,"props":894,"children":895},{"class":169,"line":381},[896,900,904,908,912],{"type":41,"tag":167,"props":897,"children":898},{"style":261},[899],{"type":47,"value":875},{"type":41,"tag":167,"props":901,"children":902},{"style":180},[903],{"type":47,"value":617},{"type":41,"tag":167,"props":905,"children":906},{"style":261},[907],{"type":47,"value":304},{"type":41,"tag":167,"props":909,"children":910},{"style":261},[911],{"type":47,"value":275},{"type":41,"tag":167,"props":913,"children":914},{"style":483},[915],{"type":47,"value":916},"    \u002F\u002F Polygon\n",{"type":41,"tag":167,"props":918,"children":919},{"class":169,"line":412},[920,924,928,932,936],{"type":41,"tag":167,"props":921,"children":922},{"style":261},[923],{"type":47,"value":875},{"type":41,"tag":167,"props":925,"children":926},{"style":180},[927],{"type":47,"value":634},{"type":41,"tag":167,"props":929,"children":930},{"style":261},[931],{"type":47,"value":304},{"type":41,"tag":167,"props":933,"children":934},{"style":261},[935],{"type":47,"value":275},{"type":41,"tag":167,"props":937,"children":938},{"style":483},[939],{"type":47,"value":940}," \u002F\u002F Solana mainnet\n",{"type":41,"tag":167,"props":942,"children":943},{"class":169,"line":453},[944,949],{"type":41,"tag":167,"props":945,"children":946},{"style":267},[947],{"type":47,"value":948},"  ]",{"type":41,"tag":167,"props":950,"children":951},{"style":261},[952],{"type":47,"value":409},{"type":41,"tag":167,"props":954,"children":955},{"class":169,"line":489},[956,961,965],{"type":41,"tag":167,"props":957,"children":958},{"style":267},[959],{"type":47,"value":960},"  []",{"type":41,"tag":167,"props":962,"children":963},{"style":261},[964],{"type":47,"value":275},{"type":41,"tag":167,"props":966,"children":967},{"style":483},[968],{"type":47,"value":969}," \u002F\u002F caipAccountIds (empty for initial connection)\n",{"type":41,"tag":167,"props":971,"children":972},{"class":169,"line":498},[973,977],{"type":41,"tag":167,"props":974,"children":975},{"style":267},[976],{"type":47,"value":653},{"type":41,"tag":167,"props":978,"children":979},{"style":261},[980],{"type":47,"value":309},{"type":41,"tag":167,"props":982,"children":983},{"class":169,"line":515},[984],{"type":41,"tag":167,"props":985,"children":986},{"emptyLinePlaceholder":315},[987],{"type":47,"value":318},{"type":41,"tag":167,"props":989,"children":990},{"class":169,"line":532},[991],{"type":41,"tag":167,"props":992,"children":993},{"style":483},[994],{"type":47,"value":995},"\u002F\u002F Session data arrives via the wallet_sessionChanged event (see Step 6),\n",{"type":41,"tag":167,"props":997,"children":998},{"class":169,"line":660},[999],{"type":41,"tag":167,"props":1000,"children":1001},{"style":483},[1002],{"type":47,"value":1003},"\u002F\u002F or read it on demand:\n",{"type":41,"tag":167,"props":1005,"children":1006},{"class":169,"line":669},[1007,1011,1016,1020,1024,1028,1032,1037,1041,1046,1051],{"type":41,"tag":167,"props":1008,"children":1009},{"style":325},[1010],{"type":47,"value":328},{"type":41,"tag":167,"props":1012,"children":1013},{"style":267},[1014],{"type":47,"value":1015}," session ",{"type":41,"tag":167,"props":1017,"children":1018},{"style":261},[1019],{"type":47,"value":338},{"type":41,"tag":167,"props":1021,"children":1022},{"style":255},[1023],{"type":47,"value":343},{"type":41,"tag":167,"props":1025,"children":1026},{"style":267},[1027],{"type":47,"value":845},{"type":41,"tag":167,"props":1029,"children":1030},{"style":261},[1031],{"type":47,"value":432},{"type":41,"tag":167,"props":1033,"children":1034},{"style":267},[1035],{"type":47,"value":1036},"provider",{"type":41,"tag":167,"props":1038,"children":1039},{"style":261},[1040],{"type":47,"value":432},{"type":41,"tag":167,"props":1042,"children":1043},{"style":346},[1044],{"type":47,"value":1045},"getSession",{"type":41,"tag":167,"props":1047,"children":1048},{"style":267},[1049],{"type":47,"value":1050},"()",{"type":41,"tag":167,"props":1052,"children":1053},{"style":261},[1054],{"type":47,"value":309},{"type":41,"tag":167,"props":1056,"children":1057},{"class":169,"line":677},[1058,1063,1067,1072,1077,1082,1087,1092],{"type":41,"tag":167,"props":1059,"children":1060},{"style":267},[1061],{"type":47,"value":1062},"console",{"type":41,"tag":167,"props":1064,"children":1065},{"style":261},[1066],{"type":47,"value":432},{"type":41,"tag":167,"props":1068,"children":1069},{"style":346},[1070],{"type":47,"value":1071},"log",{"type":41,"tag":167,"props":1073,"children":1074},{"style":267},[1075],{"type":47,"value":1076},"(session",{"type":41,"tag":167,"props":1078,"children":1079},{"style":261},[1080],{"type":47,"value":1081},"?.",{"type":41,"tag":167,"props":1083,"children":1084},{"style":267},[1085],{"type":47,"value":1086},"sessionScopes)",{"type":41,"tag":167,"props":1088,"children":1089},{"style":261},[1090],{"type":47,"value":1091},";",{"type":41,"tag":167,"props":1093,"children":1094},{"style":483},[1095],{"type":47,"value":1096}," \u002F\u002F approved scopes with their accounts\n",{"type":41,"tag":57,"props":1098,"children":1099},{},[1100],{"type":41,"tag":234,"props":1101,"children":1102},{},[1103],{"type":47,"value":1104},"Solana CAIP-2 identifiers:",{"type":41,"tag":1106,"props":1107,"children":1108},"table",{},[1109,1128],{"type":41,"tag":1110,"props":1111,"children":1112},"thead",{},[1113],{"type":41,"tag":1114,"props":1115,"children":1116},"tr",{},[1117,1123],{"type":41,"tag":1118,"props":1119,"children":1120},"th",{},[1121],{"type":47,"value":1122},"Network",{"type":41,"tag":1118,"props":1124,"children":1125},{},[1126],{"type":47,"value":1127},"CAIP-2 ID",{"type":41,"tag":1129,"props":1130,"children":1131},"tbody",{},[1132,1149,1166],{"type":41,"tag":1114,"props":1133,"children":1134},{},[1135,1141],{"type":41,"tag":1136,"props":1137,"children":1138},"td",{},[1139],{"type":47,"value":1140},"Mainnet",{"type":41,"tag":1136,"props":1142,"children":1143},{},[1144],{"type":41,"tag":78,"props":1145,"children":1147},{"className":1146},[],[1148],{"type":47,"value":634},{"type":41,"tag":1114,"props":1150,"children":1151},{},[1152,1157],{"type":41,"tag":1136,"props":1153,"children":1154},{},[1155],{"type":47,"value":1156},"Devnet",{"type":41,"tag":1136,"props":1158,"children":1159},{},[1160],{"type":41,"tag":78,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":47,"value":1165},"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",{"type":41,"tag":1114,"props":1167,"children":1168},{},[1169,1174],{"type":41,"tag":1136,"props":1170,"children":1171},{},[1172],{"type":47,"value":1173},"Testnet",{"type":41,"tag":1136,"props":1175,"children":1176},{},[1177],{"type":41,"tag":78,"props":1178,"children":1180},{"className":1179},[],[1181],{"type":47,"value":1182},"solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z",{"type":41,"tag":57,"props":1184,"children":1185},{},[1186],{"type":47,"value":1187},"All three Solana scopes are modeled by the SDK; non-mainnet availability depends on the connected MetaMask build\u002Fversion, so don't assume a cluster is present — handle connection errors.",{"type":41,"tag":57,"props":1189,"children":1190},{},[1191,1193,1199],{"type":47,"value":1192},"You can optionally pass ",{"type":41,"tag":78,"props":1194,"children":1196},{"className":1195},[],[1197],{"type":47,"value":1198},"caipAccountIds",{"type":47,"value":1200}," (second argument) to hint at specific accounts:",{"type":41,"tag":156,"props":1202,"children":1204},{"className":243,"code":1203,"language":245,"meta":161,"style":161},"await client.connect(\n  ['eip155:1'],\n  ['eip155:1:0xYourAddress'],\n);\n",[1205],{"type":41,"tag":78,"props":1206,"children":1207},{"__ignoreMap":161},[1208,1231,1260,1288],{"type":41,"tag":167,"props":1209,"children":1210},{"class":169,"line":170},[1211,1215,1219,1223,1227],{"type":41,"tag":167,"props":1212,"children":1213},{"style":255},[1214],{"type":47,"value":840},{"type":41,"tag":167,"props":1216,"children":1217},{"style":267},[1218],{"type":47,"value":845},{"type":41,"tag":167,"props":1220,"children":1221},{"style":261},[1222],{"type":47,"value":432},{"type":41,"tag":167,"props":1224,"children":1225},{"style":346},[1226],{"type":47,"value":854},{"type":41,"tag":167,"props":1228,"children":1229},{"style":267},[1230],{"type":47,"value":859},{"type":41,"tag":167,"props":1232,"children":1233},{"class":169,"line":25},[1234,1239,1243,1247,1251,1256],{"type":41,"tag":167,"props":1235,"children":1236},{"style":267},[1237],{"type":47,"value":1238},"  [",{"type":41,"tag":167,"props":1240,"children":1241},{"style":261},[1242],{"type":47,"value":304},{"type":41,"tag":167,"props":1244,"children":1245},{"style":180},[1246],{"type":47,"value":600},{"type":41,"tag":167,"props":1248,"children":1249},{"style":261},[1250],{"type":47,"value":304},{"type":41,"tag":167,"props":1252,"children":1253},{"style":267},[1254],{"type":47,"value":1255},"]",{"type":41,"tag":167,"props":1257,"children":1258},{"style":261},[1259],{"type":47,"value":409},{"type":41,"tag":167,"props":1261,"children":1262},{"class":169,"line":321},[1263,1267,1271,1276,1280,1284],{"type":41,"tag":167,"props":1264,"children":1265},{"style":267},[1266],{"type":47,"value":1238},{"type":41,"tag":167,"props":1268,"children":1269},{"style":261},[1270],{"type":47,"value":304},{"type":41,"tag":167,"props":1272,"children":1273},{"style":180},[1274],{"type":47,"value":1275},"eip155:1:0xYourAddress",{"type":41,"tag":167,"props":1277,"children":1278},{"style":261},[1279],{"type":47,"value":304},{"type":41,"tag":167,"props":1281,"children":1282},{"style":267},[1283],{"type":47,"value":1255},{"type":41,"tag":167,"props":1285,"children":1286},{"style":261},[1287],{"type":47,"value":409},{"type":41,"tag":167,"props":1289,"children":1290},{"class":169,"line":361},[1291,1295],{"type":41,"tag":167,"props":1292,"children":1293},{"style":267},[1294],{"type":47,"value":653},{"type":41,"tag":167,"props":1296,"children":1297},{"style":261},[1298],{"type":47,"value":309},{"type":41,"tag":149,"props":1300,"children":1302},{"id":1301},"step-4-invoke-evm-methods",[1303],{"type":47,"value":1304},"Step 4: Invoke EVM methods",{"type":41,"tag":57,"props":1306,"children":1307},{},[1308,1310,1315],{"type":47,"value":1309},"Use ",{"type":41,"tag":78,"props":1311,"children":1313},{"className":1312},[],[1314],{"type":47,"value":102},{"type":47,"value":1316}," with a CAIP-2 scope and a JSON-RPC request object.",{"type":41,"tag":57,"props":1318,"children":1319},{},[1320,1325,1327,1332,1334,1339,1341,1346],{"type":41,"tag":234,"props":1321,"children":1322},{},[1323],{"type":47,"value":1324},"EVM read methods",{"type":47,"value":1326}," (eth_call, eth_getBalance, eth_blockNumber, etc.) route through the ",{"type":41,"tag":234,"props":1328,"children":1329},{},[1330],{"type":47,"value":1331},"RPC node",{"type":47,"value":1333},". ",{"type":41,"tag":234,"props":1335,"children":1336},{},[1337],{"type":47,"value":1338},"Signing methods",{"type":47,"value":1340}," (eth_sendTransaction, personal_sign, etc.) route through the ",{"type":41,"tag":234,"props":1342,"children":1343},{},[1344],{"type":47,"value":1345},"wallet",{"type":47,"value":432},{"type":41,"tag":156,"props":1348,"children":1350},{"className":243,"code":1349,"language":245,"meta":161,"style":161},"\u002F\u002F Read: eth_getBalance via RPC node\nconst balance = await client.invokeMethod({\n  scope: 'eip155:1',\n  request: {\n    method: 'eth_getBalance',\n    params: ['0xYourAddress', 'latest'],\n  },\n});\n\n\u002F\u002F Sign: personal_sign via wallet\nconst signature = await client.invokeMethod({\n  scope: 'eip155:1',\n  request: {\n    method: 'personal_sign',\n    params: ['0x48656c6c6f', '0xYourAddress'],\n  },\n});\n\n\u002F\u002F Send transaction via wallet\nconst txHash = await client.invokeMethod({\n  scope: 'eip155:137',\n  request: {\n    method: 'eth_sendTransaction',\n    params: [{\n      from: '0xYourAddress',\n      to: '0xRecipient',\n      value: '0x2386F26FC10000', \u002F\u002F 0.01 ETH in wei (hex)\n      gas: '0x5208',\n    }],\n  },\n});\n",[1351],{"type":41,"tag":78,"props":1352,"children":1353},{"__ignoreMap":161},[1354,1362,1402,1430,1446,1475,1529,1536,1551,1558,1566,1606,1633,1648,1676,1728,1735,1750,1758,1767,1808,1836,1852,1881,1901,1930,1960,1995,2025,2042,2050],{"type":41,"tag":167,"props":1355,"children":1356},{"class":169,"line":170},[1357],{"type":41,"tag":167,"props":1358,"children":1359},{"style":483},[1360],{"type":47,"value":1361},"\u002F\u002F Read: eth_getBalance via RPC node\n",{"type":41,"tag":167,"props":1363,"children":1364},{"class":169,"line":25},[1365,1369,1374,1378,1382,1386,1390,1394,1398],{"type":41,"tag":167,"props":1366,"children":1367},{"style":325},[1368],{"type":47,"value":328},{"type":41,"tag":167,"props":1370,"children":1371},{"style":267},[1372],{"type":47,"value":1373}," balance ",{"type":41,"tag":167,"props":1375,"children":1376},{"style":261},[1377],{"type":47,"value":338},{"type":41,"tag":167,"props":1379,"children":1380},{"style":255},[1381],{"type":47,"value":343},{"type":41,"tag":167,"props":1383,"children":1384},{"style":267},[1385],{"type":47,"value":845},{"type":41,"tag":167,"props":1387,"children":1388},{"style":261},[1389],{"type":47,"value":432},{"type":41,"tag":167,"props":1391,"children":1392},{"style":346},[1393],{"type":47,"value":102},{"type":41,"tag":167,"props":1395,"children":1396},{"style":267},[1397],{"type":47,"value":353},{"type":41,"tag":167,"props":1399,"children":1400},{"style":261},[1401],{"type":47,"value":358},{"type":41,"tag":167,"props":1403,"children":1404},{"class":169,"line":321},[1405,1410,1414,1418,1422,1426],{"type":41,"tag":167,"props":1406,"children":1407},{"style":365},[1408],{"type":47,"value":1409},"  scope",{"type":41,"tag":167,"props":1411,"children":1412},{"style":261},[1413],{"type":47,"value":373},{"type":41,"tag":167,"props":1415,"children":1416},{"style":261},[1417],{"type":47,"value":295},{"type":41,"tag":167,"props":1419,"children":1420},{"style":180},[1421],{"type":47,"value":600},{"type":41,"tag":167,"props":1423,"children":1424},{"style":261},[1425],{"type":47,"value":304},{"type":41,"tag":167,"props":1427,"children":1428},{"style":261},[1429],{"type":47,"value":409},{"type":41,"tag":167,"props":1431,"children":1432},{"class":169,"line":361},[1433,1438,1442],{"type":41,"tag":167,"props":1434,"children":1435},{"style":365},[1436],{"type":47,"value":1437},"  request",{"type":41,"tag":167,"props":1439,"children":1440},{"style":261},[1441],{"type":47,"value":373},{"type":41,"tag":167,"props":1443,"children":1444},{"style":261},[1445],{"type":47,"value":378},{"type":41,"tag":167,"props":1447,"children":1448},{"class":169,"line":381},[1449,1454,1458,1462,1467,1471],{"type":41,"tag":167,"props":1450,"children":1451},{"style":365},[1452],{"type":47,"value":1453},"    method",{"type":41,"tag":167,"props":1455,"children":1456},{"style":261},[1457],{"type":47,"value":373},{"type":41,"tag":167,"props":1459,"children":1460},{"style":261},[1461],{"type":47,"value":295},{"type":41,"tag":167,"props":1463,"children":1464},{"style":180},[1465],{"type":47,"value":1466},"eth_getBalance",{"type":41,"tag":167,"props":1468,"children":1469},{"style":261},[1470],{"type":47,"value":304},{"type":41,"tag":167,"props":1472,"children":1473},{"style":261},[1474],{"type":47,"value":409},{"type":41,"tag":167,"props":1476,"children":1477},{"class":169,"line":412},[1478,1483,1487,1491,1495,1500,1504,1508,1512,1517,1521,1525],{"type":41,"tag":167,"props":1479,"children":1480},{"style":365},[1481],{"type":47,"value":1482},"    params",{"type":41,"tag":167,"props":1484,"children":1485},{"style":261},[1486],{"type":47,"value":373},{"type":41,"tag":167,"props":1488,"children":1489},{"style":267},[1490],{"type":47,"value":591},{"type":41,"tag":167,"props":1492,"children":1493},{"style":261},[1494],{"type":47,"value":304},{"type":41,"tag":167,"props":1496,"children":1497},{"style":180},[1498],{"type":47,"value":1499},"0xYourAddress",{"type":41,"tag":167,"props":1501,"children":1502},{"style":261},[1503],{"type":47,"value":304},{"type":41,"tag":167,"props":1505,"children":1506},{"style":261},[1507],{"type":47,"value":275},{"type":41,"tag":167,"props":1509,"children":1510},{"style":261},[1511],{"type":47,"value":295},{"type":41,"tag":167,"props":1513,"children":1514},{"style":180},[1515],{"type":47,"value":1516},"latest",{"type":41,"tag":167,"props":1518,"children":1519},{"style":261},[1520],{"type":47,"value":304},{"type":41,"tag":167,"props":1522,"children":1523},{"style":267},[1524],{"type":47,"value":1255},{"type":41,"tag":167,"props":1526,"children":1527},{"style":261},[1528],{"type":47,"value":409},{"type":41,"tag":167,"props":1530,"children":1531},{"class":169,"line":453},[1532],{"type":41,"tag":167,"props":1533,"children":1534},{"style":261},[1535],{"type":47,"value":495},{"type":41,"tag":167,"props":1537,"children":1538},{"class":169,"line":489},[1539,1543,1547],{"type":41,"tag":167,"props":1540,"children":1541},{"style":261},[1542],{"type":47,"value":648},{"type":41,"tag":167,"props":1544,"children":1545},{"style":267},[1546],{"type":47,"value":653},{"type":41,"tag":167,"props":1548,"children":1549},{"style":261},[1550],{"type":47,"value":309},{"type":41,"tag":167,"props":1552,"children":1553},{"class":169,"line":498},[1554],{"type":41,"tag":167,"props":1555,"children":1556},{"emptyLinePlaceholder":315},[1557],{"type":47,"value":318},{"type":41,"tag":167,"props":1559,"children":1560},{"class":169,"line":515},[1561],{"type":41,"tag":167,"props":1562,"children":1563},{"style":483},[1564],{"type":47,"value":1565},"\u002F\u002F Sign: personal_sign via wallet\n",{"type":41,"tag":167,"props":1567,"children":1568},{"class":169,"line":532},[1569,1573,1578,1582,1586,1590,1594,1598,1602],{"type":41,"tag":167,"props":1570,"children":1571},{"style":325},[1572],{"type":47,"value":328},{"type":41,"tag":167,"props":1574,"children":1575},{"style":267},[1576],{"type":47,"value":1577}," signature ",{"type":41,"tag":167,"props":1579,"children":1580},{"style":261},[1581],{"type":47,"value":338},{"type":41,"tag":167,"props":1583,"children":1584},{"style":255},[1585],{"type":47,"value":343},{"type":41,"tag":167,"props":1587,"children":1588},{"style":267},[1589],{"type":47,"value":845},{"type":41,"tag":167,"props":1591,"children":1592},{"style":261},[1593],{"type":47,"value":432},{"type":41,"tag":167,"props":1595,"children":1596},{"style":346},[1597],{"type":47,"value":102},{"type":41,"tag":167,"props":1599,"children":1600},{"style":267},[1601],{"type":47,"value":353},{"type":41,"tag":167,"props":1603,"children":1604},{"style":261},[1605],{"type":47,"value":358},{"type":41,"tag":167,"props":1607,"children":1608},{"class":169,"line":660},[1609,1613,1617,1621,1625,1629],{"type":41,"tag":167,"props":1610,"children":1611},{"style":365},[1612],{"type":47,"value":1409},{"type":41,"tag":167,"props":1614,"children":1615},{"style":261},[1616],{"type":47,"value":373},{"type":41,"tag":167,"props":1618,"children":1619},{"style":261},[1620],{"type":47,"value":295},{"type":41,"tag":167,"props":1622,"children":1623},{"style":180},[1624],{"type":47,"value":600},{"type":41,"tag":167,"props":1626,"children":1627},{"style":261},[1628],{"type":47,"value":304},{"type":41,"tag":167,"props":1630,"children":1631},{"style":261},[1632],{"type":47,"value":409},{"type":41,"tag":167,"props":1634,"children":1635},{"class":169,"line":669},[1636,1640,1644],{"type":41,"tag":167,"props":1637,"children":1638},{"style":365},[1639],{"type":47,"value":1437},{"type":41,"tag":167,"props":1641,"children":1642},{"style":261},[1643],{"type":47,"value":373},{"type":41,"tag":167,"props":1645,"children":1646},{"style":261},[1647],{"type":47,"value":378},{"type":41,"tag":167,"props":1649,"children":1650},{"class":169,"line":677},[1651,1655,1659,1663,1668,1672],{"type":41,"tag":167,"props":1652,"children":1653},{"style":365},[1654],{"type":47,"value":1453},{"type":41,"tag":167,"props":1656,"children":1657},{"style":261},[1658],{"type":47,"value":373},{"type":41,"tag":167,"props":1660,"children":1661},{"style":261},[1662],{"type":47,"value":295},{"type":41,"tag":167,"props":1664,"children":1665},{"style":180},[1666],{"type":47,"value":1667},"personal_sign",{"type":41,"tag":167,"props":1669,"children":1670},{"style":261},[1671],{"type":47,"value":304},{"type":41,"tag":167,"props":1673,"children":1674},{"style":261},[1675],{"type":47,"value":409},{"type":41,"tag":167,"props":1677,"children":1678},{"class":169,"line":694},[1679,1683,1687,1691,1695,1700,1704,1708,1712,1716,1720,1724],{"type":41,"tag":167,"props":1680,"children":1681},{"style":365},[1682],{"type":47,"value":1482},{"type":41,"tag":167,"props":1684,"children":1685},{"style":261},[1686],{"type":47,"value":373},{"type":41,"tag":167,"props":1688,"children":1689},{"style":267},[1690],{"type":47,"value":591},{"type":41,"tag":167,"props":1692,"children":1693},{"style":261},[1694],{"type":47,"value":304},{"type":41,"tag":167,"props":1696,"children":1697},{"style":180},[1698],{"type":47,"value":1699},"0x48656c6c6f",{"type":41,"tag":167,"props":1701,"children":1702},{"style":261},[1703],{"type":47,"value":304},{"type":41,"tag":167,"props":1705,"children":1706},{"style":261},[1707],{"type":47,"value":275},{"type":41,"tag":167,"props":1709,"children":1710},{"style":261},[1711],{"type":47,"value":295},{"type":41,"tag":167,"props":1713,"children":1714},{"style":180},[1715],{"type":47,"value":1499},{"type":41,"tag":167,"props":1717,"children":1718},{"style":261},[1719],{"type":47,"value":304},{"type":41,"tag":167,"props":1721,"children":1722},{"style":267},[1723],{"type":47,"value":1255},{"type":41,"tag":167,"props":1725,"children":1726},{"style":261},[1727],{"type":47,"value":409},{"type":41,"tag":167,"props":1729,"children":1730},{"class":169,"line":722},[1731],{"type":41,"tag":167,"props":1732,"children":1733},{"style":261},[1734],{"type":47,"value":495},{"type":41,"tag":167,"props":1736,"children":1737},{"class":169,"line":730},[1738,1742,1746],{"type":41,"tag":167,"props":1739,"children":1740},{"style":261},[1741],{"type":47,"value":648},{"type":41,"tag":167,"props":1743,"children":1744},{"style":267},[1745],{"type":47,"value":653},{"type":41,"tag":167,"props":1747,"children":1748},{"style":261},[1749],{"type":47,"value":309},{"type":41,"tag":167,"props":1751,"children":1753},{"class":169,"line":1752},18,[1754],{"type":41,"tag":167,"props":1755,"children":1756},{"emptyLinePlaceholder":315},[1757],{"type":47,"value":318},{"type":41,"tag":167,"props":1759,"children":1761},{"class":169,"line":1760},19,[1762],{"type":41,"tag":167,"props":1763,"children":1764},{"style":483},[1765],{"type":47,"value":1766},"\u002F\u002F Send transaction via wallet\n",{"type":41,"tag":167,"props":1768,"children":1770},{"class":169,"line":1769},20,[1771,1775,1780,1784,1788,1792,1796,1800,1804],{"type":41,"tag":167,"props":1772,"children":1773},{"style":325},[1774],{"type":47,"value":328},{"type":41,"tag":167,"props":1776,"children":1777},{"style":267},[1778],{"type":47,"value":1779}," txHash ",{"type":41,"tag":167,"props":1781,"children":1782},{"style":261},[1783],{"type":47,"value":338},{"type":41,"tag":167,"props":1785,"children":1786},{"style":255},[1787],{"type":47,"value":343},{"type":41,"tag":167,"props":1789,"children":1790},{"style":267},[1791],{"type":47,"value":845},{"type":41,"tag":167,"props":1793,"children":1794},{"style":261},[1795],{"type":47,"value":432},{"type":41,"tag":167,"props":1797,"children":1798},{"style":346},[1799],{"type":47,"value":102},{"type":41,"tag":167,"props":1801,"children":1802},{"style":267},[1803],{"type":47,"value":353},{"type":41,"tag":167,"props":1805,"children":1806},{"style":261},[1807],{"type":47,"value":358},{"type":41,"tag":167,"props":1809,"children":1811},{"class":169,"line":1810},21,[1812,1816,1820,1824,1828,1832],{"type":41,"tag":167,"props":1813,"children":1814},{"style":365},[1815],{"type":47,"value":1409},{"type":41,"tag":167,"props":1817,"children":1818},{"style":261},[1819],{"type":47,"value":373},{"type":41,"tag":167,"props":1821,"children":1822},{"style":261},[1823],{"type":47,"value":295},{"type":41,"tag":167,"props":1825,"children":1826},{"style":180},[1827],{"type":47,"value":617},{"type":41,"tag":167,"props":1829,"children":1830},{"style":261},[1831],{"type":47,"value":304},{"type":41,"tag":167,"props":1833,"children":1834},{"style":261},[1835],{"type":47,"value":409},{"type":41,"tag":167,"props":1837,"children":1839},{"class":169,"line":1838},22,[1840,1844,1848],{"type":41,"tag":167,"props":1841,"children":1842},{"style":365},[1843],{"type":47,"value":1437},{"type":41,"tag":167,"props":1845,"children":1846},{"style":261},[1847],{"type":47,"value":373},{"type":41,"tag":167,"props":1849,"children":1850},{"style":261},[1851],{"type":47,"value":378},{"type":41,"tag":167,"props":1853,"children":1855},{"class":169,"line":1854},23,[1856,1860,1864,1868,1873,1877],{"type":41,"tag":167,"props":1857,"children":1858},{"style":365},[1859],{"type":47,"value":1453},{"type":41,"tag":167,"props":1861,"children":1862},{"style":261},[1863],{"type":47,"value":373},{"type":41,"tag":167,"props":1865,"children":1866},{"style":261},[1867],{"type":47,"value":295},{"type":41,"tag":167,"props":1869,"children":1870},{"style":180},[1871],{"type":47,"value":1872},"eth_sendTransaction",{"type":41,"tag":167,"props":1874,"children":1875},{"style":261},[1876],{"type":47,"value":304},{"type":41,"tag":167,"props":1878,"children":1879},{"style":261},[1880],{"type":47,"value":409},{"type":41,"tag":167,"props":1882,"children":1884},{"class":169,"line":1883},24,[1885,1889,1893,1897],{"type":41,"tag":167,"props":1886,"children":1887},{"style":365},[1888],{"type":47,"value":1482},{"type":41,"tag":167,"props":1890,"children":1891},{"style":261},[1892],{"type":47,"value":373},{"type":41,"tag":167,"props":1894,"children":1895},{"style":267},[1896],{"type":47,"value":591},{"type":41,"tag":167,"props":1898,"children":1899},{"style":261},[1900],{"type":47,"value":358},{"type":41,"tag":167,"props":1902,"children":1904},{"class":169,"line":1903},25,[1905,1910,1914,1918,1922,1926],{"type":41,"tag":167,"props":1906,"children":1907},{"style":365},[1908],{"type":47,"value":1909},"      from",{"type":41,"tag":167,"props":1911,"children":1912},{"style":261},[1913],{"type":47,"value":373},{"type":41,"tag":167,"props":1915,"children":1916},{"style":261},[1917],{"type":47,"value":295},{"type":41,"tag":167,"props":1919,"children":1920},{"style":180},[1921],{"type":47,"value":1499},{"type":41,"tag":167,"props":1923,"children":1924},{"style":261},[1925],{"type":47,"value":304},{"type":41,"tag":167,"props":1927,"children":1928},{"style":261},[1929],{"type":47,"value":409},{"type":41,"tag":167,"props":1931,"children":1933},{"class":169,"line":1932},26,[1934,1939,1943,1947,1952,1956],{"type":41,"tag":167,"props":1935,"children":1936},{"style":365},[1937],{"type":47,"value":1938},"      to",{"type":41,"tag":167,"props":1940,"children":1941},{"style":261},[1942],{"type":47,"value":373},{"type":41,"tag":167,"props":1944,"children":1945},{"style":261},[1946],{"type":47,"value":295},{"type":41,"tag":167,"props":1948,"children":1949},{"style":180},[1950],{"type":47,"value":1951},"0xRecipient",{"type":41,"tag":167,"props":1953,"children":1954},{"style":261},[1955],{"type":47,"value":304},{"type":41,"tag":167,"props":1957,"children":1958},{"style":261},[1959],{"type":47,"value":409},{"type":41,"tag":167,"props":1961,"children":1963},{"class":169,"line":1962},27,[1964,1969,1973,1977,1982,1986,1990],{"type":41,"tag":167,"props":1965,"children":1966},{"style":365},[1967],{"type":47,"value":1968},"      value",{"type":41,"tag":167,"props":1970,"children":1971},{"style":261},[1972],{"type":47,"value":373},{"type":41,"tag":167,"props":1974,"children":1975},{"style":261},[1976],{"type":47,"value":295},{"type":41,"tag":167,"props":1978,"children":1979},{"style":180},[1980],{"type":47,"value":1981},"0x2386F26FC10000",{"type":41,"tag":167,"props":1983,"children":1984},{"style":261},[1985],{"type":47,"value":304},{"type":41,"tag":167,"props":1987,"children":1988},{"style":261},[1989],{"type":47,"value":275},{"type":41,"tag":167,"props":1991,"children":1992},{"style":483},[1993],{"type":47,"value":1994}," \u002F\u002F 0.01 ETH in wei (hex)\n",{"type":41,"tag":167,"props":1996,"children":1998},{"class":169,"line":1997},28,[1999,2004,2008,2012,2017,2021],{"type":41,"tag":167,"props":2000,"children":2001},{"style":365},[2002],{"type":47,"value":2003},"      gas",{"type":41,"tag":167,"props":2005,"children":2006},{"style":261},[2007],{"type":47,"value":373},{"type":41,"tag":167,"props":2009,"children":2010},{"style":261},[2011],{"type":47,"value":295},{"type":41,"tag":167,"props":2013,"children":2014},{"style":180},[2015],{"type":47,"value":2016},"0x5208",{"type":41,"tag":167,"props":2018,"children":2019},{"style":261},[2020],{"type":47,"value":304},{"type":41,"tag":167,"props":2022,"children":2023},{"style":261},[2024],{"type":47,"value":409},{"type":41,"tag":167,"props":2026,"children":2028},{"class":169,"line":2027},29,[2029,2034,2038],{"type":41,"tag":167,"props":2030,"children":2031},{"style":261},[2032],{"type":47,"value":2033},"    }",{"type":41,"tag":167,"props":2035,"children":2036},{"style":267},[2037],{"type":47,"value":1255},{"type":41,"tag":167,"props":2039,"children":2040},{"style":261},[2041],{"type":47,"value":409},{"type":41,"tag":167,"props":2043,"children":2045},{"class":169,"line":2044},30,[2046],{"type":41,"tag":167,"props":2047,"children":2048},{"style":261},[2049],{"type":47,"value":495},{"type":41,"tag":167,"props":2051,"children":2053},{"class":169,"line":2052},31,[2054,2058,2062],{"type":41,"tag":167,"props":2055,"children":2056},{"style":261},[2057],{"type":47,"value":648},{"type":41,"tag":167,"props":2059,"children":2060},{"style":267},[2061],{"type":47,"value":653},{"type":41,"tag":167,"props":2063,"children":2064},{"style":261},[2065],{"type":47,"value":309},{"type":41,"tag":149,"props":2067,"children":2069},{"id":2068},"step-5-invoke-solana-methods",[2070],{"type":47,"value":2071},"Step 5: Invoke Solana methods",{"type":41,"tag":57,"props":2073,"children":2074},{},[2075,2080,2082,2088],{"type":41,"tag":234,"props":2076,"children":2077},{},[2078],{"type":47,"value":2079},"All Solana methods route through the wallet",{"type":47,"value":2081}," — only EVM read methods are routed to RPC nodes. (The Solana entries in ",{"type":41,"tag":78,"props":2083,"children":2085},{"className":2084},[],[2086],{"type":47,"value":2087},"supportedNetworks",{"type":47,"value":2089}," declare which networks the dapp uses; they are not used to route Solana requests.)",{"type":41,"tag":57,"props":2091,"children":2092},{},[2093,2095,2108,2110,2116],{"type":47,"value":2094},"Method names have ",{"type":41,"tag":234,"props":2096,"children":2097},{},[2098,2100,2106],{"type":47,"value":2099},"no ",{"type":41,"tag":78,"props":2101,"children":2103},{"className":2102},[],[2104],{"type":47,"value":2105},"solana_",{"type":47,"value":2107}," prefix",{"type":47,"value":2109},", and params take an ",{"type":41,"tag":78,"props":2111,"children":2113},{"className":2112},[],[2114],{"type":47,"value":2115},"account: { address }",{"type":47,"value":2117}," object:",{"type":41,"tag":156,"props":2119,"children":2121},{"className":243,"code":2120,"language":245,"meta":161,"style":161},"const SOLANA_MAINNET = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp';\n\n\u002F\u002F Sign a message\nconst signResult = await client.invokeMethod({\n  scope: SOLANA_MAINNET,\n  request: {\n    method: 'signMessage',\n    params: {\n      account: { address: 'YourSolanaAddress' },\n      message: btoa('Hello from Solana!'), \u002F\u002F base64-encoded message bytes\n    },\n  },\n});\n\u002F\u002F signResult: { signature: \u003Cbase58 string>, signedMessage: \u003Cbase64>, signatureType: 'ed25519' }\n\n\u002F\u002F Sign and send a transaction\nconst txResult = await client.invokeMethod({\n  scope: SOLANA_MAINNET,\n  request: {\n    method: 'signAndSendTransaction',\n    params: {\n      account: { address: 'YourSolanaAddress' },\n      transaction: base64EncodedTransaction, \u002F\u002F base64-encoded serialized transaction\n      scope: SOLANA_MAINNET,\n    },\n  },\n});\n\u002F\u002F txResult: { signature: \u003Cbase58 transaction signature> }\n",[2122],{"type":41,"tag":78,"props":2123,"children":2124},{"__ignoreMap":161},[2125,2157,2164,2172,2212,2232,2247,2275,2290,2333,2380,2387,2394,2409,2417,2424,2432,2472,2491,2506,2534,2549,2588,2614,2634,2641,2648,2663],{"type":41,"tag":167,"props":2126,"children":2127},{"class":169,"line":170},[2128,2132,2137,2141,2145,2149,2153],{"type":41,"tag":167,"props":2129,"children":2130},{"style":325},[2131],{"type":47,"value":328},{"type":41,"tag":167,"props":2133,"children":2134},{"style":267},[2135],{"type":47,"value":2136}," SOLANA_MAINNET ",{"type":41,"tag":167,"props":2138,"children":2139},{"style":261},[2140],{"type":47,"value":338},{"type":41,"tag":167,"props":2142,"children":2143},{"style":261},[2144],{"type":47,"value":295},{"type":41,"tag":167,"props":2146,"children":2147},{"style":180},[2148],{"type":47,"value":634},{"type":41,"tag":167,"props":2150,"children":2151},{"style":261},[2152],{"type":47,"value":304},{"type":41,"tag":167,"props":2154,"children":2155},{"style":261},[2156],{"type":47,"value":309},{"type":41,"tag":167,"props":2158,"children":2159},{"class":169,"line":25},[2160],{"type":41,"tag":167,"props":2161,"children":2162},{"emptyLinePlaceholder":315},[2163],{"type":47,"value":318},{"type":41,"tag":167,"props":2165,"children":2166},{"class":169,"line":321},[2167],{"type":41,"tag":167,"props":2168,"children":2169},{"style":483},[2170],{"type":47,"value":2171},"\u002F\u002F Sign a message\n",{"type":41,"tag":167,"props":2173,"children":2174},{"class":169,"line":361},[2175,2179,2184,2188,2192,2196,2200,2204,2208],{"type":41,"tag":167,"props":2176,"children":2177},{"style":325},[2178],{"type":47,"value":328},{"type":41,"tag":167,"props":2180,"children":2181},{"style":267},[2182],{"type":47,"value":2183}," signResult ",{"type":41,"tag":167,"props":2185,"children":2186},{"style":261},[2187],{"type":47,"value":338},{"type":41,"tag":167,"props":2189,"children":2190},{"style":255},[2191],{"type":47,"value":343},{"type":41,"tag":167,"props":2193,"children":2194},{"style":267},[2195],{"type":47,"value":845},{"type":41,"tag":167,"props":2197,"children":2198},{"style":261},[2199],{"type":47,"value":432},{"type":41,"tag":167,"props":2201,"children":2202},{"style":346},[2203],{"type":47,"value":102},{"type":41,"tag":167,"props":2205,"children":2206},{"style":267},[2207],{"type":47,"value":353},{"type":41,"tag":167,"props":2209,"children":2210},{"style":261},[2211],{"type":47,"value":358},{"type":41,"tag":167,"props":2213,"children":2214},{"class":169,"line":381},[2215,2219,2223,2228],{"type":41,"tag":167,"props":2216,"children":2217},{"style":365},[2218],{"type":47,"value":1409},{"type":41,"tag":167,"props":2220,"children":2221},{"style":261},[2222],{"type":47,"value":373},{"type":41,"tag":167,"props":2224,"children":2225},{"style":267},[2226],{"type":47,"value":2227}," SOLANA_MAINNET",{"type":41,"tag":167,"props":2229,"children":2230},{"style":261},[2231],{"type":47,"value":409},{"type":41,"tag":167,"props":2233,"children":2234},{"class":169,"line":412},[2235,2239,2243],{"type":41,"tag":167,"props":2236,"children":2237},{"style":365},[2238],{"type":47,"value":1437},{"type":41,"tag":167,"props":2240,"children":2241},{"style":261},[2242],{"type":47,"value":373},{"type":41,"tag":167,"props":2244,"children":2245},{"style":261},[2246],{"type":47,"value":378},{"type":41,"tag":167,"props":2248,"children":2249},{"class":169,"line":453},[2250,2254,2258,2262,2267,2271],{"type":41,"tag":167,"props":2251,"children":2252},{"style":365},[2253],{"type":47,"value":1453},{"type":41,"tag":167,"props":2255,"children":2256},{"style":261},[2257],{"type":47,"value":373},{"type":41,"tag":167,"props":2259,"children":2260},{"style":261},[2261],{"type":47,"value":295},{"type":41,"tag":167,"props":2263,"children":2264},{"style":180},[2265],{"type":47,"value":2266},"signMessage",{"type":41,"tag":167,"props":2268,"children":2269},{"style":261},[2270],{"type":47,"value":304},{"type":41,"tag":167,"props":2272,"children":2273},{"style":261},[2274],{"type":47,"value":409},{"type":41,"tag":167,"props":2276,"children":2277},{"class":169,"line":489},[2278,2282,2286],{"type":41,"tag":167,"props":2279,"children":2280},{"style":365},[2281],{"type":47,"value":1482},{"type":41,"tag":167,"props":2283,"children":2284},{"style":261},[2285],{"type":47,"value":373},{"type":41,"tag":167,"props":2287,"children":2288},{"style":261},[2289],{"type":47,"value":378},{"type":41,"tag":167,"props":2291,"children":2292},{"class":169,"line":498},[2293,2298,2302,2306,2311,2315,2319,2324,2328],{"type":41,"tag":167,"props":2294,"children":2295},{"style":365},[2296],{"type":47,"value":2297},"      account",{"type":41,"tag":167,"props":2299,"children":2300},{"style":261},[2301],{"type":47,"value":373},{"type":41,"tag":167,"props":2303,"children":2304},{"style":261},[2305],{"type":47,"value":264},{"type":41,"tag":167,"props":2307,"children":2308},{"style":365},[2309],{"type":47,"value":2310}," address",{"type":41,"tag":167,"props":2312,"children":2313},{"style":261},[2314],{"type":47,"value":373},{"type":41,"tag":167,"props":2316,"children":2317},{"style":261},[2318],{"type":47,"value":295},{"type":41,"tag":167,"props":2320,"children":2321},{"style":180},[2322],{"type":47,"value":2323},"YourSolanaAddress",{"type":41,"tag":167,"props":2325,"children":2326},{"style":261},[2327],{"type":47,"value":304},{"type":41,"tag":167,"props":2329,"children":2330},{"style":261},[2331],{"type":47,"value":2332}," },\n",{"type":41,"tag":167,"props":2334,"children":2335},{"class":169,"line":515},[2336,2341,2345,2350,2354,2358,2363,2367,2371,2375],{"type":41,"tag":167,"props":2337,"children":2338},{"style":365},[2339],{"type":47,"value":2340},"      message",{"type":41,"tag":167,"props":2342,"children":2343},{"style":261},[2344],{"type":47,"value":373},{"type":41,"tag":167,"props":2346,"children":2347},{"style":346},[2348],{"type":47,"value":2349}," btoa",{"type":41,"tag":167,"props":2351,"children":2352},{"style":267},[2353],{"type":47,"value":353},{"type":41,"tag":167,"props":2355,"children":2356},{"style":261},[2357],{"type":47,"value":304},{"type":41,"tag":167,"props":2359,"children":2360},{"style":180},[2361],{"type":47,"value":2362},"Hello from Solana!",{"type":41,"tag":167,"props":2364,"children":2365},{"style":261},[2366],{"type":47,"value":304},{"type":41,"tag":167,"props":2368,"children":2369},{"style":267},[2370],{"type":47,"value":653},{"type":41,"tag":167,"props":2372,"children":2373},{"style":261},[2374],{"type":47,"value":275},{"type":41,"tag":167,"props":2376,"children":2377},{"style":483},[2378],{"type":47,"value":2379}," \u002F\u002F base64-encoded message bytes\n",{"type":41,"tag":167,"props":2381,"children":2382},{"class":169,"line":532},[2383],{"type":41,"tag":167,"props":2384,"children":2385},{"style":261},[2386],{"type":47,"value":666},{"type":41,"tag":167,"props":2388,"children":2389},{"class":169,"line":660},[2390],{"type":41,"tag":167,"props":2391,"children":2392},{"style":261},[2393],{"type":47,"value":495},{"type":41,"tag":167,"props":2395,"children":2396},{"class":169,"line":669},[2397,2401,2405],{"type":41,"tag":167,"props":2398,"children":2399},{"style":261},[2400],{"type":47,"value":648},{"type":41,"tag":167,"props":2402,"children":2403},{"style":267},[2404],{"type":47,"value":653},{"type":41,"tag":167,"props":2406,"children":2407},{"style":261},[2408],{"type":47,"value":309},{"type":41,"tag":167,"props":2410,"children":2411},{"class":169,"line":677},[2412],{"type":41,"tag":167,"props":2413,"children":2414},{"style":483},[2415],{"type":47,"value":2416},"\u002F\u002F signResult: { signature: \u003Cbase58 string>, signedMessage: \u003Cbase64>, signatureType: 'ed25519' }\n",{"type":41,"tag":167,"props":2418,"children":2419},{"class":169,"line":694},[2420],{"type":41,"tag":167,"props":2421,"children":2422},{"emptyLinePlaceholder":315},[2423],{"type":47,"value":318},{"type":41,"tag":167,"props":2425,"children":2426},{"class":169,"line":722},[2427],{"type":41,"tag":167,"props":2428,"children":2429},{"style":483},[2430],{"type":47,"value":2431},"\u002F\u002F Sign and send a transaction\n",{"type":41,"tag":167,"props":2433,"children":2434},{"class":169,"line":730},[2435,2439,2444,2448,2452,2456,2460,2464,2468],{"type":41,"tag":167,"props":2436,"children":2437},{"style":325},[2438],{"type":47,"value":328},{"type":41,"tag":167,"props":2440,"children":2441},{"style":267},[2442],{"type":47,"value":2443}," txResult ",{"type":41,"tag":167,"props":2445,"children":2446},{"style":261},[2447],{"type":47,"value":338},{"type":41,"tag":167,"props":2449,"children":2450},{"style":255},[2451],{"type":47,"value":343},{"type":41,"tag":167,"props":2453,"children":2454},{"style":267},[2455],{"type":47,"value":845},{"type":41,"tag":167,"props":2457,"children":2458},{"style":261},[2459],{"type":47,"value":432},{"type":41,"tag":167,"props":2461,"children":2462},{"style":346},[2463],{"type":47,"value":102},{"type":41,"tag":167,"props":2465,"children":2466},{"style":267},[2467],{"type":47,"value":353},{"type":41,"tag":167,"props":2469,"children":2470},{"style":261},[2471],{"type":47,"value":358},{"type":41,"tag":167,"props":2473,"children":2474},{"class":169,"line":1752},[2475,2479,2483,2487],{"type":41,"tag":167,"props":2476,"children":2477},{"style":365},[2478],{"type":47,"value":1409},{"type":41,"tag":167,"props":2480,"children":2481},{"style":261},[2482],{"type":47,"value":373},{"type":41,"tag":167,"props":2484,"children":2485},{"style":267},[2486],{"type":47,"value":2227},{"type":41,"tag":167,"props":2488,"children":2489},{"style":261},[2490],{"type":47,"value":409},{"type":41,"tag":167,"props":2492,"children":2493},{"class":169,"line":1760},[2494,2498,2502],{"type":41,"tag":167,"props":2495,"children":2496},{"style":365},[2497],{"type":47,"value":1437},{"type":41,"tag":167,"props":2499,"children":2500},{"style":261},[2501],{"type":47,"value":373},{"type":41,"tag":167,"props":2503,"children":2504},{"style":261},[2505],{"type":47,"value":378},{"type":41,"tag":167,"props":2507,"children":2508},{"class":169,"line":1769},[2509,2513,2517,2521,2526,2530],{"type":41,"tag":167,"props":2510,"children":2511},{"style":365},[2512],{"type":47,"value":1453},{"type":41,"tag":167,"props":2514,"children":2515},{"style":261},[2516],{"type":47,"value":373},{"type":41,"tag":167,"props":2518,"children":2519},{"style":261},[2520],{"type":47,"value":295},{"type":41,"tag":167,"props":2522,"children":2523},{"style":180},[2524],{"type":47,"value":2525},"signAndSendTransaction",{"type":41,"tag":167,"props":2527,"children":2528},{"style":261},[2529],{"type":47,"value":304},{"type":41,"tag":167,"props":2531,"children":2532},{"style":261},[2533],{"type":47,"value":409},{"type":41,"tag":167,"props":2535,"children":2536},{"class":169,"line":1810},[2537,2541,2545],{"type":41,"tag":167,"props":2538,"children":2539},{"style":365},[2540],{"type":47,"value":1482},{"type":41,"tag":167,"props":2542,"children":2543},{"style":261},[2544],{"type":47,"value":373},{"type":41,"tag":167,"props":2546,"children":2547},{"style":261},[2548],{"type":47,"value":378},{"type":41,"tag":167,"props":2550,"children":2551},{"class":169,"line":1838},[2552,2556,2560,2564,2568,2572,2576,2580,2584],{"type":41,"tag":167,"props":2553,"children":2554},{"style":365},[2555],{"type":47,"value":2297},{"type":41,"tag":167,"props":2557,"children":2558},{"style":261},[2559],{"type":47,"value":373},{"type":41,"tag":167,"props":2561,"children":2562},{"style":261},[2563],{"type":47,"value":264},{"type":41,"tag":167,"props":2565,"children":2566},{"style":365},[2567],{"type":47,"value":2310},{"type":41,"tag":167,"props":2569,"children":2570},{"style":261},[2571],{"type":47,"value":373},{"type":41,"tag":167,"props":2573,"children":2574},{"style":261},[2575],{"type":47,"value":295},{"type":41,"tag":167,"props":2577,"children":2578},{"style":180},[2579],{"type":47,"value":2323},{"type":41,"tag":167,"props":2581,"children":2582},{"style":261},[2583],{"type":47,"value":304},{"type":41,"tag":167,"props":2585,"children":2586},{"style":261},[2587],{"type":47,"value":2332},{"type":41,"tag":167,"props":2589,"children":2590},{"class":169,"line":1854},[2591,2596,2600,2605,2609],{"type":41,"tag":167,"props":2592,"children":2593},{"style":365},[2594],{"type":47,"value":2595},"      transaction",{"type":41,"tag":167,"props":2597,"children":2598},{"style":261},[2599],{"type":47,"value":373},{"type":41,"tag":167,"props":2601,"children":2602},{"style":267},[2603],{"type":47,"value":2604}," base64EncodedTransaction",{"type":41,"tag":167,"props":2606,"children":2607},{"style":261},[2608],{"type":47,"value":275},{"type":41,"tag":167,"props":2610,"children":2611},{"style":483},[2612],{"type":47,"value":2613}," \u002F\u002F base64-encoded serialized transaction\n",{"type":41,"tag":167,"props":2615,"children":2616},{"class":169,"line":1883},[2617,2622,2626,2630],{"type":41,"tag":167,"props":2618,"children":2619},{"style":365},[2620],{"type":47,"value":2621},"      scope",{"type":41,"tag":167,"props":2623,"children":2624},{"style":261},[2625],{"type":47,"value":373},{"type":41,"tag":167,"props":2627,"children":2628},{"style":267},[2629],{"type":47,"value":2227},{"type":41,"tag":167,"props":2631,"children":2632},{"style":261},[2633],{"type":47,"value":409},{"type":41,"tag":167,"props":2635,"children":2636},{"class":169,"line":1903},[2637],{"type":41,"tag":167,"props":2638,"children":2639},{"style":261},[2640],{"type":47,"value":666},{"type":41,"tag":167,"props":2642,"children":2643},{"class":169,"line":1932},[2644],{"type":41,"tag":167,"props":2645,"children":2646},{"style":261},[2647],{"type":47,"value":495},{"type":41,"tag":167,"props":2649,"children":2650},{"class":169,"line":1962},[2651,2655,2659],{"type":41,"tag":167,"props":2652,"children":2653},{"style":261},[2654],{"type":47,"value":648},{"type":41,"tag":167,"props":2656,"children":2657},{"style":267},[2658],{"type":47,"value":653},{"type":41,"tag":167,"props":2660,"children":2661},{"style":261},[2662],{"type":47,"value":309},{"type":41,"tag":167,"props":2664,"children":2665},{"class":169,"line":1997},[2666],{"type":41,"tag":167,"props":2667,"children":2668},{"style":483},[2669],{"type":47,"value":2670},"\u002F\u002F txResult: { signature: \u003Cbase58 transaction signature> }\n",{"type":41,"tag":57,"props":2672,"children":2673},{},[2674,2676,2682,2684,2690],{"type":47,"value":2675},"To sign without sending, use ",{"type":41,"tag":78,"props":2677,"children":2679},{"className":2678},[],[2680],{"type":47,"value":2681},"signTransaction",{"type":47,"value":2683}," (same params) — it returns ",{"type":41,"tag":78,"props":2685,"children":2687},{"className":2686},[],[2688],{"type":47,"value":2689},"{ signedTransaction: \u003Cbase64> }",{"type":47,"value":432},{"type":41,"tag":149,"props":2692,"children":2694},{"id":2693},"step-6-listen-for-session-events",[2695],{"type":47,"value":2696},"Step 6: Listen for session events",{"type":41,"tag":57,"props":2698,"children":2699},{},[2700,2702,2707,2709,2715],{"type":47,"value":2701},"Register event listeners ",{"type":41,"tag":234,"props":2703,"children":2704},{},[2705],{"type":47,"value":2706},"before",{"type":47,"value":2708}," calling ",{"type":41,"tag":78,"props":2710,"children":2712},{"className":2711},[],[2713],{"type":47,"value":2714},"connect()",{"type":47,"value":432},{"type":41,"tag":156,"props":2717,"children":2719},{"className":243,"code":2718,"language":245,"meta":161,"style":161},"\u002F\u002F Session state changes (accounts added\u002Fremoved, scopes changed)\n\u002F\u002F Payload is SessionData | undefined — scopes live under sessionScopes\nclient.on('wallet_sessionChanged', (session) => {\n  const scopes = session?.sessionScopes ?? {};\n  console.log('Approved scopes:', Object.keys(scopes));\n  \u002F\u002F Accounts are CAIP-10 strings, e.g. 'eip155:1:0xabc...' — take the last segment for the address\n});\n\n\u002F\u002F Connection status changes\nclient.on('stateChanged', (status) => {\n  \u002F\u002F status: 'loaded' | 'pending' | 'connecting' | 'connected' | 'disconnected'\n  console.log('Connection status:', status);\n});\n\n\u002F\u002F display_uri fires during 'connecting' state — headless QR code flow\nclient.on('display_uri', (uri: string) => {\n  renderQrCode(uri);\n});\n",[2720],{"type":41,"tag":78,"props":2721,"children":2722},{"__ignoreMap":161},[2723,2731,2739,2800,2842,2911,2919,2934,2941,2949,3006,3014,3063,3078,3085,3093,3158,3182],{"type":41,"tag":167,"props":2724,"children":2725},{"class":169,"line":170},[2726],{"type":41,"tag":167,"props":2727,"children":2728},{"style":483},[2729],{"type":47,"value":2730},"\u002F\u002F Session state changes (accounts added\u002Fremoved, scopes changed)\n",{"type":41,"tag":167,"props":2732,"children":2733},{"class":169,"line":25},[2734],{"type":41,"tag":167,"props":2735,"children":2736},{"style":483},[2737],{"type":47,"value":2738},"\u002F\u002F Payload is SessionData | undefined — scopes live under sessionScopes\n",{"type":41,"tag":167,"props":2740,"children":2741},{"class":169,"line":321},[2742,2747,2751,2756,2760,2764,2768,2772,2776,2781,2787,2791,2796],{"type":41,"tag":167,"props":2743,"children":2744},{"style":267},[2745],{"type":47,"value":2746},"client",{"type":41,"tag":167,"props":2748,"children":2749},{"style":261},[2750],{"type":47,"value":432},{"type":41,"tag":167,"props":2752,"children":2753},{"style":346},[2754],{"type":47,"value":2755},"on",{"type":41,"tag":167,"props":2757,"children":2758},{"style":267},[2759],{"type":47,"value":353},{"type":41,"tag":167,"props":2761,"children":2762},{"style":261},[2763],{"type":47,"value":304},{"type":41,"tag":167,"props":2765,"children":2766},{"style":180},[2767],{"type":47,"value":115},{"type":41,"tag":167,"props":2769,"children":2770},{"style":261},[2771],{"type":47,"value":304},{"type":41,"tag":167,"props":2773,"children":2774},{"style":261},[2775],{"type":47,"value":275},{"type":41,"tag":167,"props":2777,"children":2778},{"style":261},[2779],{"type":47,"value":2780}," (",{"type":41,"tag":167,"props":2782,"children":2784},{"style":2783},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2785],{"type":47,"value":2786},"session",{"type":41,"tag":167,"props":2788,"children":2789},{"style":261},[2790],{"type":47,"value":653},{"type":41,"tag":167,"props":2792,"children":2793},{"style":325},[2794],{"type":47,"value":2795}," =>",{"type":41,"tag":167,"props":2797,"children":2798},{"style":261},[2799],{"type":47,"value":378},{"type":41,"tag":167,"props":2801,"children":2802},{"class":169,"line":361},[2803,2808,2813,2818,2823,2827,2832,2837],{"type":41,"tag":167,"props":2804,"children":2805},{"style":325},[2806],{"type":47,"value":2807},"  const",{"type":41,"tag":167,"props":2809,"children":2810},{"style":267},[2811],{"type":47,"value":2812}," scopes",{"type":41,"tag":167,"props":2814,"children":2815},{"style":261},[2816],{"type":47,"value":2817}," =",{"type":41,"tag":167,"props":2819,"children":2820},{"style":267},[2821],{"type":47,"value":2822}," session",{"type":41,"tag":167,"props":2824,"children":2825},{"style":261},[2826],{"type":47,"value":1081},{"type":41,"tag":167,"props":2828,"children":2829},{"style":267},[2830],{"type":47,"value":2831},"sessionScopes",{"type":41,"tag":167,"props":2833,"children":2834},{"style":261},[2835],{"type":47,"value":2836}," ??",{"type":41,"tag":167,"props":2838,"children":2839},{"style":261},[2840],{"type":47,"value":2841}," {};\n",{"type":41,"tag":167,"props":2843,"children":2844},{"class":169,"line":381},[2845,2850,2854,2858,2862,2866,2871,2875,2879,2884,2888,2893,2897,2902,2907],{"type":41,"tag":167,"props":2846,"children":2847},{"style":267},[2848],{"type":47,"value":2849},"  console",{"type":41,"tag":167,"props":2851,"children":2852},{"style":261},[2853],{"type":47,"value":432},{"type":41,"tag":167,"props":2855,"children":2856},{"style":346},[2857],{"type":47,"value":1071},{"type":41,"tag":167,"props":2859,"children":2860},{"style":365},[2861],{"type":47,"value":353},{"type":41,"tag":167,"props":2863,"children":2864},{"style":261},[2865],{"type":47,"value":304},{"type":41,"tag":167,"props":2867,"children":2868},{"style":180},[2869],{"type":47,"value":2870},"Approved scopes:",{"type":41,"tag":167,"props":2872,"children":2873},{"style":261},[2874],{"type":47,"value":304},{"type":41,"tag":167,"props":2876,"children":2877},{"style":261},[2878],{"type":47,"value":275},{"type":41,"tag":167,"props":2880,"children":2881},{"style":267},[2882],{"type":47,"value":2883}," Object",{"type":41,"tag":167,"props":2885,"children":2886},{"style":261},[2887],{"type":47,"value":432},{"type":41,"tag":167,"props":2889,"children":2890},{"style":346},[2891],{"type":47,"value":2892},"keys",{"type":41,"tag":167,"props":2894,"children":2895},{"style":365},[2896],{"type":47,"value":353},{"type":41,"tag":167,"props":2898,"children":2899},{"style":267},[2900],{"type":47,"value":2901},"scopes",{"type":41,"tag":167,"props":2903,"children":2904},{"style":365},[2905],{"type":47,"value":2906},"))",{"type":41,"tag":167,"props":2908,"children":2909},{"style":261},[2910],{"type":47,"value":309},{"type":41,"tag":167,"props":2912,"children":2913},{"class":169,"line":412},[2914],{"type":41,"tag":167,"props":2915,"children":2916},{"style":483},[2917],{"type":47,"value":2918},"  \u002F\u002F Accounts are CAIP-10 strings, e.g. 'eip155:1:0xabc...' — take the last segment for the address\n",{"type":41,"tag":167,"props":2920,"children":2921},{"class":169,"line":453},[2922,2926,2930],{"type":41,"tag":167,"props":2923,"children":2924},{"style":261},[2925],{"type":47,"value":648},{"type":41,"tag":167,"props":2927,"children":2928},{"style":267},[2929],{"type":47,"value":653},{"type":41,"tag":167,"props":2931,"children":2932},{"style":261},[2933],{"type":47,"value":309},{"type":41,"tag":167,"props":2935,"children":2936},{"class":169,"line":489},[2937],{"type":41,"tag":167,"props":2938,"children":2939},{"emptyLinePlaceholder":315},[2940],{"type":47,"value":318},{"type":41,"tag":167,"props":2942,"children":2943},{"class":169,"line":498},[2944],{"type":41,"tag":167,"props":2945,"children":2946},{"style":483},[2947],{"type":47,"value":2948},"\u002F\u002F Connection status changes\n",{"type":41,"tag":167,"props":2950,"children":2951},{"class":169,"line":515},[2952,2956,2960,2964,2968,2972,2977,2981,2985,2989,2994,2998,3002],{"type":41,"tag":167,"props":2953,"children":2954},{"style":267},[2955],{"type":47,"value":2746},{"type":41,"tag":167,"props":2957,"children":2958},{"style":261},[2959],{"type":47,"value":432},{"type":41,"tag":167,"props":2961,"children":2962},{"style":346},[2963],{"type":47,"value":2755},{"type":41,"tag":167,"props":2965,"children":2966},{"style":267},[2967],{"type":47,"value":353},{"type":41,"tag":167,"props":2969,"children":2970},{"style":261},[2971],{"type":47,"value":304},{"type":41,"tag":167,"props":2973,"children":2974},{"style":180},[2975],{"type":47,"value":2976},"stateChanged",{"type":41,"tag":167,"props":2978,"children":2979},{"style":261},[2980],{"type":47,"value":304},{"type":41,"tag":167,"props":2982,"children":2983},{"style":261},[2984],{"type":47,"value":275},{"type":41,"tag":167,"props":2986,"children":2987},{"style":261},[2988],{"type":47,"value":2780},{"type":41,"tag":167,"props":2990,"children":2991},{"style":2783},[2992],{"type":47,"value":2993},"status",{"type":41,"tag":167,"props":2995,"children":2996},{"style":261},[2997],{"type":47,"value":653},{"type":41,"tag":167,"props":2999,"children":3000},{"style":325},[3001],{"type":47,"value":2795},{"type":41,"tag":167,"props":3003,"children":3004},{"style":261},[3005],{"type":47,"value":378},{"type":41,"tag":167,"props":3007,"children":3008},{"class":169,"line":532},[3009],{"type":41,"tag":167,"props":3010,"children":3011},{"style":483},[3012],{"type":47,"value":3013},"  \u002F\u002F status: 'loaded' | 'pending' | 'connecting' | 'connected' | 'disconnected'\n",{"type":41,"tag":167,"props":3015,"children":3016},{"class":169,"line":660},[3017,3021,3025,3029,3033,3037,3042,3046,3050,3055,3059],{"type":41,"tag":167,"props":3018,"children":3019},{"style":267},[3020],{"type":47,"value":2849},{"type":41,"tag":167,"props":3022,"children":3023},{"style":261},[3024],{"type":47,"value":432},{"type":41,"tag":167,"props":3026,"children":3027},{"style":346},[3028],{"type":47,"value":1071},{"type":41,"tag":167,"props":3030,"children":3031},{"style":365},[3032],{"type":47,"value":353},{"type":41,"tag":167,"props":3034,"children":3035},{"style":261},[3036],{"type":47,"value":304},{"type":41,"tag":167,"props":3038,"children":3039},{"style":180},[3040],{"type":47,"value":3041},"Connection status:",{"type":41,"tag":167,"props":3043,"children":3044},{"style":261},[3045],{"type":47,"value":304},{"type":41,"tag":167,"props":3047,"children":3048},{"style":261},[3049],{"type":47,"value":275},{"type":41,"tag":167,"props":3051,"children":3052},{"style":267},[3053],{"type":47,"value":3054}," status",{"type":41,"tag":167,"props":3056,"children":3057},{"style":365},[3058],{"type":47,"value":653},{"type":41,"tag":167,"props":3060,"children":3061},{"style":261},[3062],{"type":47,"value":309},{"type":41,"tag":167,"props":3064,"children":3065},{"class":169,"line":669},[3066,3070,3074],{"type":41,"tag":167,"props":3067,"children":3068},{"style":261},[3069],{"type":47,"value":648},{"type":41,"tag":167,"props":3071,"children":3072},{"style":267},[3073],{"type":47,"value":653},{"type":41,"tag":167,"props":3075,"children":3076},{"style":261},[3077],{"type":47,"value":309},{"type":41,"tag":167,"props":3079,"children":3080},{"class":169,"line":677},[3081],{"type":41,"tag":167,"props":3082,"children":3083},{"emptyLinePlaceholder":315},[3084],{"type":47,"value":318},{"type":41,"tag":167,"props":3086,"children":3087},{"class":169,"line":694},[3088],{"type":41,"tag":167,"props":3089,"children":3090},{"style":483},[3091],{"type":47,"value":3092},"\u002F\u002F display_uri fires during 'connecting' state — headless QR code flow\n",{"type":41,"tag":167,"props":3094,"children":3095},{"class":169,"line":722},[3096,3100,3104,3108,3112,3116,3120,3124,3128,3132,3137,3141,3146,3150,3154],{"type":41,"tag":167,"props":3097,"children":3098},{"style":267},[3099],{"type":47,"value":2746},{"type":41,"tag":167,"props":3101,"children":3102},{"style":261},[3103],{"type":47,"value":432},{"type":41,"tag":167,"props":3105,"children":3106},{"style":346},[3107],{"type":47,"value":2755},{"type":41,"tag":167,"props":3109,"children":3110},{"style":267},[3111],{"type":47,"value":353},{"type":41,"tag":167,"props":3113,"children":3114},{"style":261},[3115],{"type":47,"value":304},{"type":41,"tag":167,"props":3117,"children":3118},{"style":180},[3119],{"type":47,"value":128},{"type":41,"tag":167,"props":3121,"children":3122},{"style":261},[3123],{"type":47,"value":304},{"type":41,"tag":167,"props":3125,"children":3126},{"style":261},[3127],{"type":47,"value":275},{"type":41,"tag":167,"props":3129,"children":3130},{"style":261},[3131],{"type":47,"value":2780},{"type":41,"tag":167,"props":3133,"children":3134},{"style":2783},[3135],{"type":47,"value":3136},"uri",{"type":41,"tag":167,"props":3138,"children":3139},{"style":261},[3140],{"type":47,"value":373},{"type":41,"tag":167,"props":3142,"children":3143},{"style":174},[3144],{"type":47,"value":3145}," string",{"type":41,"tag":167,"props":3147,"children":3148},{"style":261},[3149],{"type":47,"value":653},{"type":41,"tag":167,"props":3151,"children":3152},{"style":325},[3153],{"type":47,"value":2795},{"type":41,"tag":167,"props":3155,"children":3156},{"style":261},[3157],{"type":47,"value":378},{"type":41,"tag":167,"props":3159,"children":3160},{"class":169,"line":730},[3161,3166,3170,3174,3178],{"type":41,"tag":167,"props":3162,"children":3163},{"style":346},[3164],{"type":47,"value":3165},"  renderQrCode",{"type":41,"tag":167,"props":3167,"children":3168},{"style":365},[3169],{"type":47,"value":353},{"type":41,"tag":167,"props":3171,"children":3172},{"style":267},[3173],{"type":47,"value":3136},{"type":41,"tag":167,"props":3175,"children":3176},{"style":365},[3177],{"type":47,"value":653},{"type":41,"tag":167,"props":3179,"children":3180},{"style":261},[3181],{"type":47,"value":309},{"type":41,"tag":167,"props":3183,"children":3184},{"class":169,"line":1752},[3185,3189,3193],{"type":41,"tag":167,"props":3186,"children":3187},{"style":261},[3188],{"type":47,"value":648},{"type":41,"tag":167,"props":3190,"children":3191},{"style":267},[3192],{"type":47,"value":653},{"type":41,"tag":167,"props":3194,"children":3195},{"style":261},[3196],{"type":47,"value":309},{"type":41,"tag":57,"props":3198,"children":3199},{},[3200,3210,3212,3217,3219,3224],{"type":41,"tag":234,"props":3201,"children":3202},{},[3203,3208],{"type":41,"tag":78,"props":3204,"children":3206},{"className":3205},[],[3207],{"type":47,"value":128},{"type":47,"value":3209}," timing:",{"type":47,"value":3211}," The event only fires during the connecting phase. Register the listener before ",{"type":41,"tag":78,"props":3213,"children":3215},{"className":3214},[],[3216],{"type":47,"value":2714},{"type":47,"value":3218},". In headless mode, if an error occurs during connection, do not attempt to regenerate the QR — start a new ",{"type":41,"tag":78,"props":3220,"children":3222},{"className":3221},[],[3223],{"type":47,"value":2714},{"type":47,"value":3225}," call instead.",{"type":41,"tag":149,"props":3227,"children":3229},{"id":3228},"step-7-headless-mode",[3230],{"type":47,"value":3231},"Step 7: Headless mode",{"type":41,"tag":57,"props":3233,"children":3234},{},[3235],{"type":47,"value":3236},"For full control over the connection UI:",{"type":41,"tag":156,"props":3238,"children":3240},{"className":243,"code":3239,"language":245,"meta":161,"style":161},"const client = await createMultichainClient({\n  dapp: { name: 'My DApp', url: window.location.href },\n  api: {\n    supportedNetworks: getInfuraRpcUrls({ infuraApiKey: 'YOUR_INFURA_API_KEY' }),\n  },\n  ui: { headless: true },\n});\n\nclient.on('display_uri', (uri: string) => {\n  \u002F\u002F Render your own QR code or deeplink UI\n  showCustomQrModal(uri);\n});\n\nawait client.connect(\n  ['eip155:1', 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'],\n  [],\n);\n\n\u002F\u002F Hide QR modal on successful connection\nhideCustomQrModal();\n",[3241],{"type":41,"tag":78,"props":3242,"children":3243},{"__ignoreMap":161},[3244,3275,3351,3366,3421,3428,3461,3476,3483,3546,3554,3578,3593,3600,3623,3666,3677,3688,3695,3703],{"type":41,"tag":167,"props":3245,"children":3246},{"class":169,"line":170},[3247,3251,3255,3259,3263,3267,3271],{"type":41,"tag":167,"props":3248,"children":3249},{"style":325},[3250],{"type":47,"value":328},{"type":41,"tag":167,"props":3252,"children":3253},{"style":267},[3254],{"type":47,"value":333},{"type":41,"tag":167,"props":3256,"children":3257},{"style":261},[3258],{"type":47,"value":338},{"type":41,"tag":167,"props":3260,"children":3261},{"style":255},[3262],{"type":47,"value":343},{"type":41,"tag":167,"props":3264,"children":3265},{"style":346},[3266],{"type":47,"value":270},{"type":41,"tag":167,"props":3268,"children":3269},{"style":267},[3270],{"type":47,"value":353},{"type":41,"tag":167,"props":3272,"children":3273},{"style":261},[3274],{"type":47,"value":358},{"type":41,"tag":167,"props":3276,"children":3277},{"class":169,"line":25},[3278,3282,3286,3290,3295,3299,3303,3308,3312,3316,3321,3325,3329,3333,3337,3341,3346],{"type":41,"tag":167,"props":3279,"children":3280},{"style":365},[3281],{"type":47,"value":368},{"type":41,"tag":167,"props":3283,"children":3284},{"style":261},[3285],{"type":47,"value":373},{"type":41,"tag":167,"props":3287,"children":3288},{"style":261},[3289],{"type":47,"value":264},{"type":41,"tag":167,"props":3291,"children":3292},{"style":365},[3293],{"type":47,"value":3294}," name",{"type":41,"tag":167,"props":3296,"children":3297},{"style":261},[3298],{"type":47,"value":373},{"type":41,"tag":167,"props":3300,"children":3301},{"style":261},[3302],{"type":47,"value":295},{"type":41,"tag":167,"props":3304,"children":3305},{"style":180},[3306],{"type":47,"value":3307},"My DApp",{"type":41,"tag":167,"props":3309,"children":3310},{"style":261},[3311],{"type":47,"value":304},{"type":41,"tag":167,"props":3313,"children":3314},{"style":261},[3315],{"type":47,"value":275},{"type":41,"tag":167,"props":3317,"children":3318},{"style":365},[3319],{"type":47,"value":3320}," url",{"type":41,"tag":167,"props":3322,"children":3323},{"style":261},[3324],{"type":47,"value":373},{"type":41,"tag":167,"props":3326,"children":3327},{"style":267},[3328],{"type":47,"value":427},{"type":41,"tag":167,"props":3330,"children":3331},{"style":261},[3332],{"type":47,"value":432},{"type":41,"tag":167,"props":3334,"children":3335},{"style":267},[3336],{"type":47,"value":437},{"type":41,"tag":167,"props":3338,"children":3339},{"style":261},[3340],{"type":47,"value":432},{"type":41,"tag":167,"props":3342,"children":3343},{"style":267},[3344],{"type":47,"value":3345},"href ",{"type":41,"tag":167,"props":3347,"children":3348},{"style":261},[3349],{"type":47,"value":3350},"},\n",{"type":41,"tag":167,"props":3352,"children":3353},{"class":169,"line":321},[3354,3358,3362],{"type":41,"tag":167,"props":3355,"children":3356},{"style":365},[3357],{"type":47,"value":504},{"type":41,"tag":167,"props":3359,"children":3360},{"style":261},[3361],{"type":47,"value":373},{"type":41,"tag":167,"props":3363,"children":3364},{"style":261},[3365],{"type":47,"value":378},{"type":41,"tag":167,"props":3367,"children":3368},{"class":169,"line":361},[3369,3373,3377,3381,3385,3389,3393,3397,3401,3405,3409,3413,3417],{"type":41,"tag":167,"props":3370,"children":3371},{"style":365},[3372],{"type":47,"value":521},{"type":41,"tag":167,"props":3374,"children":3375},{"style":261},[3376],{"type":47,"value":373},{"type":41,"tag":167,"props":3378,"children":3379},{"style":346},[3380],{"type":47,"value":280},{"type":41,"tag":167,"props":3382,"children":3383},{"style":267},[3384],{"type":47,"value":353},{"type":41,"tag":167,"props":3386,"children":3387},{"style":261},[3388],{"type":47,"value":551},{"type":41,"tag":167,"props":3390,"children":3391},{"style":365},[3392],{"type":47,"value":556},{"type":41,"tag":167,"props":3394,"children":3395},{"style":261},[3396],{"type":47,"value":373},{"type":41,"tag":167,"props":3398,"children":3399},{"style":261},[3400],{"type":47,"value":295},{"type":41,"tag":167,"props":3402,"children":3403},{"style":180},[3404],{"type":47,"value":569},{"type":41,"tag":167,"props":3406,"children":3407},{"style":261},[3408],{"type":47,"value":304},{"type":41,"tag":167,"props":3410,"children":3411},{"style":261},[3412],{"type":47,"value":285},{"type":41,"tag":167,"props":3414,"children":3415},{"style":267},[3416],{"type":47,"value":653},{"type":41,"tag":167,"props":3418,"children":3419},{"style":261},[3420],{"type":47,"value":409},{"type":41,"tag":167,"props":3422,"children":3423},{"class":169,"line":381},[3424],{"type":41,"tag":167,"props":3425,"children":3426},{"style":261},[3427],{"type":47,"value":495},{"type":41,"tag":167,"props":3429,"children":3430},{"class":169,"line":412},[3431,3435,3439,3443,3448,3452,3457],{"type":41,"tag":167,"props":3432,"children":3433},{"style":365},[3434],{"type":47,"value":683},{"type":41,"tag":167,"props":3436,"children":3437},{"style":261},[3438],{"type":47,"value":373},{"type":41,"tag":167,"props":3440,"children":3441},{"style":261},[3442],{"type":47,"value":264},{"type":41,"tag":167,"props":3444,"children":3445},{"style":365},[3446],{"type":47,"value":3447}," headless",{"type":41,"tag":167,"props":3449,"children":3450},{"style":261},[3451],{"type":47,"value":373},{"type":41,"tag":167,"props":3453,"children":3454},{"style":707},[3455],{"type":47,"value":3456}," true",{"type":41,"tag":167,"props":3458,"children":3459},{"style":261},[3460],{"type":47,"value":2332},{"type":41,"tag":167,"props":3462,"children":3463},{"class":169,"line":453},[3464,3468,3472],{"type":41,"tag":167,"props":3465,"children":3466},{"style":261},[3467],{"type":47,"value":648},{"type":41,"tag":167,"props":3469,"children":3470},{"style":267},[3471],{"type":47,"value":653},{"type":41,"tag":167,"props":3473,"children":3474},{"style":261},[3475],{"type":47,"value":309},{"type":41,"tag":167,"props":3477,"children":3478},{"class":169,"line":489},[3479],{"type":41,"tag":167,"props":3480,"children":3481},{"emptyLinePlaceholder":315},[3482],{"type":47,"value":318},{"type":41,"tag":167,"props":3484,"children":3485},{"class":169,"line":498},[3486,3490,3494,3498,3502,3506,3510,3514,3518,3522,3526,3530,3534,3538,3542],{"type":41,"tag":167,"props":3487,"children":3488},{"style":267},[3489],{"type":47,"value":2746},{"type":41,"tag":167,"props":3491,"children":3492},{"style":261},[3493],{"type":47,"value":432},{"type":41,"tag":167,"props":3495,"children":3496},{"style":346},[3497],{"type":47,"value":2755},{"type":41,"tag":167,"props":3499,"children":3500},{"style":267},[3501],{"type":47,"value":353},{"type":41,"tag":167,"props":3503,"children":3504},{"style":261},[3505],{"type":47,"value":304},{"type":41,"tag":167,"props":3507,"children":3508},{"style":180},[3509],{"type":47,"value":128},{"type":41,"tag":167,"props":3511,"children":3512},{"style":261},[3513],{"type":47,"value":304},{"type":41,"tag":167,"props":3515,"children":3516},{"style":261},[3517],{"type":47,"value":275},{"type":41,"tag":167,"props":3519,"children":3520},{"style":261},[3521],{"type":47,"value":2780},{"type":41,"tag":167,"props":3523,"children":3524},{"style":2783},[3525],{"type":47,"value":3136},{"type":41,"tag":167,"props":3527,"children":3528},{"style":261},[3529],{"type":47,"value":373},{"type":41,"tag":167,"props":3531,"children":3532},{"style":174},[3533],{"type":47,"value":3145},{"type":41,"tag":167,"props":3535,"children":3536},{"style":261},[3537],{"type":47,"value":653},{"type":41,"tag":167,"props":3539,"children":3540},{"style":325},[3541],{"type":47,"value":2795},{"type":41,"tag":167,"props":3543,"children":3544},{"style":261},[3545],{"type":47,"value":378},{"type":41,"tag":167,"props":3547,"children":3548},{"class":169,"line":515},[3549],{"type":41,"tag":167,"props":3550,"children":3551},{"style":483},[3552],{"type":47,"value":3553},"  \u002F\u002F Render your own QR code or deeplink UI\n",{"type":41,"tag":167,"props":3555,"children":3556},{"class":169,"line":532},[3557,3562,3566,3570,3574],{"type":41,"tag":167,"props":3558,"children":3559},{"style":346},[3560],{"type":47,"value":3561},"  showCustomQrModal",{"type":41,"tag":167,"props":3563,"children":3564},{"style":365},[3565],{"type":47,"value":353},{"type":41,"tag":167,"props":3567,"children":3568},{"style":267},[3569],{"type":47,"value":3136},{"type":41,"tag":167,"props":3571,"children":3572},{"style":365},[3573],{"type":47,"value":653},{"type":41,"tag":167,"props":3575,"children":3576},{"style":261},[3577],{"type":47,"value":309},{"type":41,"tag":167,"props":3579,"children":3580},{"class":169,"line":660},[3581,3585,3589],{"type":41,"tag":167,"props":3582,"children":3583},{"style":261},[3584],{"type":47,"value":648},{"type":41,"tag":167,"props":3586,"children":3587},{"style":267},[3588],{"type":47,"value":653},{"type":41,"tag":167,"props":3590,"children":3591},{"style":261},[3592],{"type":47,"value":309},{"type":41,"tag":167,"props":3594,"children":3595},{"class":169,"line":669},[3596],{"type":41,"tag":167,"props":3597,"children":3598},{"emptyLinePlaceholder":315},[3599],{"type":47,"value":318},{"type":41,"tag":167,"props":3601,"children":3602},{"class":169,"line":677},[3603,3607,3611,3615,3619],{"type":41,"tag":167,"props":3604,"children":3605},{"style":255},[3606],{"type":47,"value":840},{"type":41,"tag":167,"props":3608,"children":3609},{"style":267},[3610],{"type":47,"value":845},{"type":41,"tag":167,"props":3612,"children":3613},{"style":261},[3614],{"type":47,"value":432},{"type":41,"tag":167,"props":3616,"children":3617},{"style":346},[3618],{"type":47,"value":854},{"type":41,"tag":167,"props":3620,"children":3621},{"style":267},[3622],{"type":47,"value":859},{"type":41,"tag":167,"props":3624,"children":3625},{"class":169,"line":694},[3626,3630,3634,3638,3642,3646,3650,3654,3658,3662],{"type":41,"tag":167,"props":3627,"children":3628},{"style":267},[3629],{"type":47,"value":1238},{"type":41,"tag":167,"props":3631,"children":3632},{"style":261},[3633],{"type":47,"value":304},{"type":41,"tag":167,"props":3635,"children":3636},{"style":180},[3637],{"type":47,"value":600},{"type":41,"tag":167,"props":3639,"children":3640},{"style":261},[3641],{"type":47,"value":304},{"type":41,"tag":167,"props":3643,"children":3644},{"style":261},[3645],{"type":47,"value":275},{"type":41,"tag":167,"props":3647,"children":3648},{"style":261},[3649],{"type":47,"value":295},{"type":41,"tag":167,"props":3651,"children":3652},{"style":180},[3653],{"type":47,"value":634},{"type":41,"tag":167,"props":3655,"children":3656},{"style":261},[3657],{"type":47,"value":304},{"type":41,"tag":167,"props":3659,"children":3660},{"style":267},[3661],{"type":47,"value":1255},{"type":41,"tag":167,"props":3663,"children":3664},{"style":261},[3665],{"type":47,"value":409},{"type":41,"tag":167,"props":3667,"children":3668},{"class":169,"line":722},[3669,3673],{"type":41,"tag":167,"props":3670,"children":3671},{"style":267},[3672],{"type":47,"value":960},{"type":41,"tag":167,"props":3674,"children":3675},{"style":261},[3676],{"type":47,"value":409},{"type":41,"tag":167,"props":3678,"children":3679},{"class":169,"line":730},[3680,3684],{"type":41,"tag":167,"props":3681,"children":3682},{"style":267},[3683],{"type":47,"value":653},{"type":41,"tag":167,"props":3685,"children":3686},{"style":261},[3687],{"type":47,"value":309},{"type":41,"tag":167,"props":3689,"children":3690},{"class":169,"line":1752},[3691],{"type":41,"tag":167,"props":3692,"children":3693},{"emptyLinePlaceholder":315},[3694],{"type":47,"value":318},{"type":41,"tag":167,"props":3696,"children":3697},{"class":169,"line":1760},[3698],{"type":41,"tag":167,"props":3699,"children":3700},{"style":483},[3701],{"type":47,"value":3702},"\u002F\u002F Hide QR modal on successful connection\n",{"type":41,"tag":167,"props":3704,"children":3705},{"class":169,"line":1769},[3706,3711,3715],{"type":41,"tag":167,"props":3707,"children":3708},{"style":346},[3709],{"type":47,"value":3710},"hideCustomQrModal",{"type":41,"tag":167,"props":3712,"children":3713},{"style":267},[3714],{"type":47,"value":1050},{"type":41,"tag":167,"props":3716,"children":3717},{"style":261},[3718],{"type":47,"value":309},{"type":41,"tag":149,"props":3720,"children":3722},{"id":3721},"step-8-selective-disconnect",[3723],{"type":47,"value":3724},"Step 8: Selective disconnect",{"type":41,"tag":156,"props":3726,"children":3728},{"className":243,"code":3727,"language":245,"meta":161,"style":161},"\u002F\u002F Disconnect only Solana scope — EVM session stays active\nawait client.disconnect(['solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp']);\n\n\u002F\u002F Full disconnect — revoke all scopes, terminate session\nawait client.disconnect();\n",[3729],{"type":41,"tag":78,"props":3730,"children":3731},{"__ignoreMap":161},[3732,3740,3786,3793,3801],{"type":41,"tag":167,"props":3733,"children":3734},{"class":169,"line":170},[3735],{"type":41,"tag":167,"props":3736,"children":3737},{"style":483},[3738],{"type":47,"value":3739},"\u002F\u002F Disconnect only Solana scope — EVM session stays active\n",{"type":41,"tag":167,"props":3741,"children":3742},{"class":169,"line":25},[3743,3747,3751,3755,3760,3765,3769,3773,3777,3782],{"type":41,"tag":167,"props":3744,"children":3745},{"style":255},[3746],{"type":47,"value":840},{"type":41,"tag":167,"props":3748,"children":3749},{"style":267},[3750],{"type":47,"value":845},{"type":41,"tag":167,"props":3752,"children":3753},{"style":261},[3754],{"type":47,"value":432},{"type":41,"tag":167,"props":3756,"children":3757},{"style":346},[3758],{"type":47,"value":3759},"disconnect",{"type":41,"tag":167,"props":3761,"children":3762},{"style":267},[3763],{"type":47,"value":3764},"([",{"type":41,"tag":167,"props":3766,"children":3767},{"style":261},[3768],{"type":47,"value":304},{"type":41,"tag":167,"props":3770,"children":3771},{"style":180},[3772],{"type":47,"value":634},{"type":41,"tag":167,"props":3774,"children":3775},{"style":261},[3776],{"type":47,"value":304},{"type":41,"tag":167,"props":3778,"children":3779},{"style":267},[3780],{"type":47,"value":3781},"])",{"type":41,"tag":167,"props":3783,"children":3784},{"style":261},[3785],{"type":47,"value":309},{"type":41,"tag":167,"props":3787,"children":3788},{"class":169,"line":321},[3789],{"type":41,"tag":167,"props":3790,"children":3791},{"emptyLinePlaceholder":315},[3792],{"type":47,"value":318},{"type":41,"tag":167,"props":3794,"children":3795},{"class":169,"line":361},[3796],{"type":41,"tag":167,"props":3797,"children":3798},{"style":483},[3799],{"type":47,"value":3800},"\u002F\u002F Full disconnect — revoke all scopes, terminate session\n",{"type":41,"tag":167,"props":3802,"children":3803},{"class":169,"line":381},[3804,3808,3812,3816,3820,3824],{"type":41,"tag":167,"props":3805,"children":3806},{"style":255},[3807],{"type":47,"value":840},{"type":41,"tag":167,"props":3809,"children":3810},{"style":267},[3811],{"type":47,"value":845},{"type":41,"tag":167,"props":3813,"children":3814},{"style":261},[3815],{"type":47,"value":432},{"type":41,"tag":167,"props":3817,"children":3818},{"style":346},[3819],{"type":47,"value":3759},{"type":41,"tag":167,"props":3821,"children":3822},{"style":267},[3823],{"type":47,"value":1050},{"type":41,"tag":167,"props":3825,"children":3826},{"style":261},[3827],{"type":47,"value":309},{"type":41,"tag":149,"props":3829,"children":3831},{"id":3830},"step-9-error-handling",[3832],{"type":47,"value":3833},"Step 9: Error handling",{"type":41,"tag":156,"props":3835,"children":3837},{"className":243,"code":3836,"language":245,"meta":161,"style":161},"import { RPCInvokeMethodErr } from '@metamask\u002Fconnect-multichain';\n\ntry {\n  await client.connect(['eip155:1'], []);\n} catch (err: any) {\n  if (err?.message?.includes('Existing connection is pending')) {\n    \u002F\u002F MWP: a previous connect() is still pending — do NOT retry.\n    \u002F\u002F Show \"Check your MetaMask Mobile app to continue\" message.\n    \u002F\u002F (This error has no numeric code.)\n  } else if (err?.code === 4001 || \u002Freject|denied|cancel\u002Fi.test(err?.message ?? '')) {\n    \u002F\u002F User rejected the connection — show retry UI\n  } else {\n    console.error('Connection error:', err);\n  }\n}\n\n\u002F\u002F invokeMethod errors are wrapped in RPCInvokeMethodErr (err.code === 53).\n\u002F\u002F The wallet's original EIP-1193 \u002F JSON-RPC code is on err.rpcCode\n\u002F\u002F (with err.rpcMessage and err.rpcData for revert data).\ntry {\n  await client.invokeMethod({\n    scope: 'eip155:1',\n    request: { method: 'personal_sign', params: ['0x48656c6c6f', '0xYourAddress'] },\n  });\n} catch (err) {\n  if (err instanceof RPCInvokeMethodErr && err.rpcCode === 4001) {\n    \u002F\u002F User rejected the signature — not an app error\n  } else {\n    throw err;\n  }\n}\n",[3838],{"type":41,"tag":78,"props":3839,"children":3840},{"__ignoreMap":161},[3841,3881,3888,3900,3953,3991,4051,4059,4067,4075,4206,4214,4229,4280,4288,4296,4303,4311,4319,4327,4338,4365,4393,4483,4498,4518,4577,4585,4600,4616,4623],{"type":41,"tag":167,"props":3842,"children":3843},{"class":169,"line":170},[3844,3848,3852,3857,3861,3865,3869,3873,3877],{"type":41,"tag":167,"props":3845,"children":3846},{"style":255},[3847],{"type":47,"value":258},{"type":41,"tag":167,"props":3849,"children":3850},{"style":261},[3851],{"type":47,"value":264},{"type":41,"tag":167,"props":3853,"children":3854},{"style":267},[3855],{"type":47,"value":3856}," RPCInvokeMethodErr",{"type":41,"tag":167,"props":3858,"children":3859},{"style":261},[3860],{"type":47,"value":285},{"type":41,"tag":167,"props":3862,"children":3863},{"style":255},[3864],{"type":47,"value":290},{"type":41,"tag":167,"props":3866,"children":3867},{"style":261},[3868],{"type":47,"value":295},{"type":41,"tag":167,"props":3870,"children":3871},{"style":180},[3872],{"type":47,"value":91},{"type":41,"tag":167,"props":3874,"children":3875},{"style":261},[3876],{"type":47,"value":304},{"type":41,"tag":167,"props":3878,"children":3879},{"style":261},[3880],{"type":47,"value":309},{"type":41,"tag":167,"props":3882,"children":3883},{"class":169,"line":25},[3884],{"type":41,"tag":167,"props":3885,"children":3886},{"emptyLinePlaceholder":315},[3887],{"type":47,"value":318},{"type":41,"tag":167,"props":3889,"children":3890},{"class":169,"line":321},[3891,3896],{"type":41,"tag":167,"props":3892,"children":3893},{"style":255},[3894],{"type":47,"value":3895},"try",{"type":41,"tag":167,"props":3897,"children":3898},{"style":261},[3899],{"type":47,"value":378},{"type":41,"tag":167,"props":3901,"children":3902},{"class":169,"line":361},[3903,3908,3912,3916,3920,3924,3928,3932,3936,3940,3944,3949],{"type":41,"tag":167,"props":3904,"children":3905},{"style":255},[3906],{"type":47,"value":3907},"  await",{"type":41,"tag":167,"props":3909,"children":3910},{"style":267},[3911],{"type":47,"value":845},{"type":41,"tag":167,"props":3913,"children":3914},{"style":261},[3915],{"type":47,"value":432},{"type":41,"tag":167,"props":3917,"children":3918},{"style":346},[3919],{"type":47,"value":854},{"type":41,"tag":167,"props":3921,"children":3922},{"style":365},[3923],{"type":47,"value":3764},{"type":41,"tag":167,"props":3925,"children":3926},{"style":261},[3927],{"type":47,"value":304},{"type":41,"tag":167,"props":3929,"children":3930},{"style":180},[3931],{"type":47,"value":600},{"type":41,"tag":167,"props":3933,"children":3934},{"style":261},[3935],{"type":47,"value":304},{"type":41,"tag":167,"props":3937,"children":3938},{"style":365},[3939],{"type":47,"value":1255},{"type":41,"tag":167,"props":3941,"children":3942},{"style":261},[3943],{"type":47,"value":275},{"type":41,"tag":167,"props":3945,"children":3946},{"style":365},[3947],{"type":47,"value":3948}," [])",{"type":41,"tag":167,"props":3950,"children":3951},{"style":261},[3952],{"type":47,"value":309},{"type":41,"tag":167,"props":3954,"children":3955},{"class":169,"line":381},[3956,3960,3965,3969,3974,3978,3983,3987],{"type":41,"tag":167,"props":3957,"children":3958},{"style":261},[3959],{"type":47,"value":648},{"type":41,"tag":167,"props":3961,"children":3962},{"style":255},[3963],{"type":47,"value":3964}," catch",{"type":41,"tag":167,"props":3966,"children":3967},{"style":261},[3968],{"type":47,"value":2780},{"type":41,"tag":167,"props":3970,"children":3971},{"style":2783},[3972],{"type":47,"value":3973},"err",{"type":41,"tag":167,"props":3975,"children":3976},{"style":261},[3977],{"type":47,"value":373},{"type":41,"tag":167,"props":3979,"children":3980},{"style":174},[3981],{"type":47,"value":3982}," any",{"type":41,"tag":167,"props":3984,"children":3985},{"style":261},[3986],{"type":47,"value":653},{"type":41,"tag":167,"props":3988,"children":3989},{"style":261},[3990],{"type":47,"value":378},{"type":41,"tag":167,"props":3992,"children":3993},{"class":169,"line":412},[3994,3999,4003,4007,4011,4016,4020,4025,4029,4033,4038,4042,4047],{"type":41,"tag":167,"props":3995,"children":3996},{"style":255},[3997],{"type":47,"value":3998},"  if",{"type":41,"tag":167,"props":4000,"children":4001},{"style":365},[4002],{"type":47,"value":2780},{"type":41,"tag":167,"props":4004,"children":4005},{"style":267},[4006],{"type":47,"value":3973},{"type":41,"tag":167,"props":4008,"children":4009},{"style":261},[4010],{"type":47,"value":1081},{"type":41,"tag":167,"props":4012,"children":4013},{"style":267},[4014],{"type":47,"value":4015},"message",{"type":41,"tag":167,"props":4017,"children":4018},{"style":261},[4019],{"type":47,"value":1081},{"type":41,"tag":167,"props":4021,"children":4022},{"style":346},[4023],{"type":47,"value":4024},"includes",{"type":41,"tag":167,"props":4026,"children":4027},{"style":365},[4028],{"type":47,"value":353},{"type":41,"tag":167,"props":4030,"children":4031},{"style":261},[4032],{"type":47,"value":304},{"type":41,"tag":167,"props":4034,"children":4035},{"style":180},[4036],{"type":47,"value":4037},"Existing connection is pending",{"type":41,"tag":167,"props":4039,"children":4040},{"style":261},[4041],{"type":47,"value":304},{"type":41,"tag":167,"props":4043,"children":4044},{"style":365},[4045],{"type":47,"value":4046},")) ",{"type":41,"tag":167,"props":4048,"children":4049},{"style":261},[4050],{"type":47,"value":358},{"type":41,"tag":167,"props":4052,"children":4053},{"class":169,"line":453},[4054],{"type":41,"tag":167,"props":4055,"children":4056},{"style":483},[4057],{"type":47,"value":4058},"    \u002F\u002F MWP: a previous connect() is still pending — do NOT retry.\n",{"type":41,"tag":167,"props":4060,"children":4061},{"class":169,"line":489},[4062],{"type":41,"tag":167,"props":4063,"children":4064},{"style":483},[4065],{"type":47,"value":4066},"    \u002F\u002F Show \"Check your MetaMask Mobile app to continue\" message.\n",{"type":41,"tag":167,"props":4068,"children":4069},{"class":169,"line":498},[4070],{"type":41,"tag":167,"props":4071,"children":4072},{"style":483},[4073],{"type":47,"value":4074},"    \u002F\u002F (This error has no numeric code.)\n",{"type":41,"tag":167,"props":4076,"children":4077},{"class":169,"line":515},[4078,4083,4088,4093,4097,4101,4105,4109,4114,4120,4125,4130,4135,4140,4145,4149,4154,4159,4164,4168,4173,4177,4181,4185,4189,4193,4198,4202],{"type":41,"tag":167,"props":4079,"children":4080},{"style":261},[4081],{"type":47,"value":4082},"  }",{"type":41,"tag":167,"props":4084,"children":4085},{"style":255},[4086],{"type":47,"value":4087}," else",{"type":41,"tag":167,"props":4089,"children":4090},{"style":255},[4091],{"type":47,"value":4092}," if",{"type":41,"tag":167,"props":4094,"children":4095},{"style":365},[4096],{"type":47,"value":2780},{"type":41,"tag":167,"props":4098,"children":4099},{"style":267},[4100],{"type":47,"value":3973},{"type":41,"tag":167,"props":4102,"children":4103},{"style":261},[4104],{"type":47,"value":1081},{"type":41,"tag":167,"props":4106,"children":4107},{"style":267},[4108],{"type":47,"value":78},{"type":41,"tag":167,"props":4110,"children":4111},{"style":261},[4112],{"type":47,"value":4113}," ===",{"type":41,"tag":167,"props":4115,"children":4117},{"style":4116},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[4118],{"type":47,"value":4119}," 4001",{"type":41,"tag":167,"props":4121,"children":4122},{"style":261},[4123],{"type":47,"value":4124}," ||",{"type":41,"tag":167,"props":4126,"children":4127},{"style":261},[4128],{"type":47,"value":4129}," \u002F",{"type":41,"tag":167,"props":4131,"children":4132},{"style":180},[4133],{"type":47,"value":4134},"reject",{"type":41,"tag":167,"props":4136,"children":4137},{"style":261},[4138],{"type":47,"value":4139},"|",{"type":41,"tag":167,"props":4141,"children":4142},{"style":180},[4143],{"type":47,"value":4144},"denied",{"type":41,"tag":167,"props":4146,"children":4147},{"style":261},[4148],{"type":47,"value":4139},{"type":41,"tag":167,"props":4150,"children":4151},{"style":180},[4152],{"type":47,"value":4153},"cancel",{"type":41,"tag":167,"props":4155,"children":4156},{"style":261},[4157],{"type":47,"value":4158},"\u002F",{"type":41,"tag":167,"props":4160,"children":4161},{"style":4116},[4162],{"type":47,"value":4163},"i",{"type":41,"tag":167,"props":4165,"children":4166},{"style":261},[4167],{"type":47,"value":432},{"type":41,"tag":167,"props":4169,"children":4170},{"style":346},[4171],{"type":47,"value":4172},"test",{"type":41,"tag":167,"props":4174,"children":4175},{"style":365},[4176],{"type":47,"value":353},{"type":41,"tag":167,"props":4178,"children":4179},{"style":267},[4180],{"type":47,"value":3973},{"type":41,"tag":167,"props":4182,"children":4183},{"style":261},[4184],{"type":47,"value":1081},{"type":41,"tag":167,"props":4186,"children":4187},{"style":267},[4188],{"type":47,"value":4015},{"type":41,"tag":167,"props":4190,"children":4191},{"style":261},[4192],{"type":47,"value":2836},{"type":41,"tag":167,"props":4194,"children":4195},{"style":261},[4196],{"type":47,"value":4197}," ''",{"type":41,"tag":167,"props":4199,"children":4200},{"style":365},[4201],{"type":47,"value":4046},{"type":41,"tag":167,"props":4203,"children":4204},{"style":261},[4205],{"type":47,"value":358},{"type":41,"tag":167,"props":4207,"children":4208},{"class":169,"line":532},[4209],{"type":41,"tag":167,"props":4210,"children":4211},{"style":483},[4212],{"type":47,"value":4213},"    \u002F\u002F User rejected the connection — show retry UI\n",{"type":41,"tag":167,"props":4215,"children":4216},{"class":169,"line":660},[4217,4221,4225],{"type":41,"tag":167,"props":4218,"children":4219},{"style":261},[4220],{"type":47,"value":4082},{"type":41,"tag":167,"props":4222,"children":4223},{"style":255},[4224],{"type":47,"value":4087},{"type":41,"tag":167,"props":4226,"children":4227},{"style":261},[4228],{"type":47,"value":378},{"type":41,"tag":167,"props":4230,"children":4231},{"class":169,"line":669},[4232,4237,4241,4246,4250,4254,4259,4263,4267,4272,4276],{"type":41,"tag":167,"props":4233,"children":4234},{"style":267},[4235],{"type":47,"value":4236},"    console",{"type":41,"tag":167,"props":4238,"children":4239},{"style":261},[4240],{"type":47,"value":432},{"type":41,"tag":167,"props":4242,"children":4243},{"style":346},[4244],{"type":47,"value":4245},"error",{"type":41,"tag":167,"props":4247,"children":4248},{"style":365},[4249],{"type":47,"value":353},{"type":41,"tag":167,"props":4251,"children":4252},{"style":261},[4253],{"type":47,"value":304},{"type":41,"tag":167,"props":4255,"children":4256},{"style":180},[4257],{"type":47,"value":4258},"Connection error:",{"type":41,"tag":167,"props":4260,"children":4261},{"style":261},[4262],{"type":47,"value":304},{"type":41,"tag":167,"props":4264,"children":4265},{"style":261},[4266],{"type":47,"value":275},{"type":41,"tag":167,"props":4268,"children":4269},{"style":267},[4270],{"type":47,"value":4271}," err",{"type":41,"tag":167,"props":4273,"children":4274},{"style":365},[4275],{"type":47,"value":653},{"type":41,"tag":167,"props":4277,"children":4278},{"style":261},[4279],{"type":47,"value":309},{"type":41,"tag":167,"props":4281,"children":4282},{"class":169,"line":677},[4283],{"type":41,"tag":167,"props":4284,"children":4285},{"style":261},[4286],{"type":47,"value":4287},"  }\n",{"type":41,"tag":167,"props":4289,"children":4290},{"class":169,"line":694},[4291],{"type":41,"tag":167,"props":4292,"children":4293},{"style":261},[4294],{"type":47,"value":4295},"}\n",{"type":41,"tag":167,"props":4297,"children":4298},{"class":169,"line":722},[4299],{"type":41,"tag":167,"props":4300,"children":4301},{"emptyLinePlaceholder":315},[4302],{"type":47,"value":318},{"type":41,"tag":167,"props":4304,"children":4305},{"class":169,"line":730},[4306],{"type":41,"tag":167,"props":4307,"children":4308},{"style":483},[4309],{"type":47,"value":4310},"\u002F\u002F invokeMethod errors are wrapped in RPCInvokeMethodErr (err.code === 53).\n",{"type":41,"tag":167,"props":4312,"children":4313},{"class":169,"line":1752},[4314],{"type":41,"tag":167,"props":4315,"children":4316},{"style":483},[4317],{"type":47,"value":4318},"\u002F\u002F The wallet's original EIP-1193 \u002F JSON-RPC code is on err.rpcCode\n",{"type":41,"tag":167,"props":4320,"children":4321},{"class":169,"line":1760},[4322],{"type":41,"tag":167,"props":4323,"children":4324},{"style":483},[4325],{"type":47,"value":4326},"\u002F\u002F (with err.rpcMessage and err.rpcData for revert data).\n",{"type":41,"tag":167,"props":4328,"children":4329},{"class":169,"line":1769},[4330,4334],{"type":41,"tag":167,"props":4331,"children":4332},{"style":255},[4333],{"type":47,"value":3895},{"type":41,"tag":167,"props":4335,"children":4336},{"style":261},[4337],{"type":47,"value":378},{"type":41,"tag":167,"props":4339,"children":4340},{"class":169,"line":1810},[4341,4345,4349,4353,4357,4361],{"type":41,"tag":167,"props":4342,"children":4343},{"style":255},[4344],{"type":47,"value":3907},{"type":41,"tag":167,"props":4346,"children":4347},{"style":267},[4348],{"type":47,"value":845},{"type":41,"tag":167,"props":4350,"children":4351},{"style":261},[4352],{"type":47,"value":432},{"type":41,"tag":167,"props":4354,"children":4355},{"style":346},[4356],{"type":47,"value":102},{"type":41,"tag":167,"props":4358,"children":4359},{"style":365},[4360],{"type":47,"value":353},{"type":41,"tag":167,"props":4362,"children":4363},{"style":261},[4364],{"type":47,"value":358},{"type":41,"tag":167,"props":4366,"children":4367},{"class":169,"line":1838},[4368,4373,4377,4381,4385,4389],{"type":41,"tag":167,"props":4369,"children":4370},{"style":365},[4371],{"type":47,"value":4372},"    scope",{"type":41,"tag":167,"props":4374,"children":4375},{"style":261},[4376],{"type":47,"value":373},{"type":41,"tag":167,"props":4378,"children":4379},{"style":261},[4380],{"type":47,"value":295},{"type":41,"tag":167,"props":4382,"children":4383},{"style":180},[4384],{"type":47,"value":600},{"type":41,"tag":167,"props":4386,"children":4387},{"style":261},[4388],{"type":47,"value":304},{"type":41,"tag":167,"props":4390,"children":4391},{"style":261},[4392],{"type":47,"value":409},{"type":41,"tag":167,"props":4394,"children":4395},{"class":169,"line":1854},[4396,4401,4405,4409,4414,4418,4422,4426,4430,4434,4439,4443,4447,4451,4455,4459,4463,4467,4471,4475,4479],{"type":41,"tag":167,"props":4397,"children":4398},{"style":365},[4399],{"type":47,"value":4400},"    request",{"type":41,"tag":167,"props":4402,"children":4403},{"style":261},[4404],{"type":47,"value":373},{"type":41,"tag":167,"props":4406,"children":4407},{"style":261},[4408],{"type":47,"value":264},{"type":41,"tag":167,"props":4410,"children":4411},{"style":365},[4412],{"type":47,"value":4413}," method",{"type":41,"tag":167,"props":4415,"children":4416},{"style":261},[4417],{"type":47,"value":373},{"type":41,"tag":167,"props":4419,"children":4420},{"style":261},[4421],{"type":47,"value":295},{"type":41,"tag":167,"props":4423,"children":4424},{"style":180},[4425],{"type":47,"value":1667},{"type":41,"tag":167,"props":4427,"children":4428},{"style":261},[4429],{"type":47,"value":304},{"type":41,"tag":167,"props":4431,"children":4432},{"style":261},[4433],{"type":47,"value":275},{"type":41,"tag":167,"props":4435,"children":4436},{"style":365},[4437],{"type":47,"value":4438}," params",{"type":41,"tag":167,"props":4440,"children":4441},{"style":261},[4442],{"type":47,"value":373},{"type":41,"tag":167,"props":4444,"children":4445},{"style":365},[4446],{"type":47,"value":591},{"type":41,"tag":167,"props":4448,"children":4449},{"style":261},[4450],{"type":47,"value":304},{"type":41,"tag":167,"props":4452,"children":4453},{"style":180},[4454],{"type":47,"value":1699},{"type":41,"tag":167,"props":4456,"children":4457},{"style":261},[4458],{"type":47,"value":304},{"type":41,"tag":167,"props":4460,"children":4461},{"style":261},[4462],{"type":47,"value":275},{"type":41,"tag":167,"props":4464,"children":4465},{"style":261},[4466],{"type":47,"value":295},{"type":41,"tag":167,"props":4468,"children":4469},{"style":180},[4470],{"type":47,"value":1499},{"type":41,"tag":167,"props":4472,"children":4473},{"style":261},[4474],{"type":47,"value":304},{"type":41,"tag":167,"props":4476,"children":4477},{"style":365},[4478],{"type":47,"value":643},{"type":41,"tag":167,"props":4480,"children":4481},{"style":261},[4482],{"type":47,"value":3350},{"type":41,"tag":167,"props":4484,"children":4485},{"class":169,"line":1883},[4486,4490,4494],{"type":41,"tag":167,"props":4487,"children":4488},{"style":261},[4489],{"type":47,"value":4082},{"type":41,"tag":167,"props":4491,"children":4492},{"style":365},[4493],{"type":47,"value":653},{"type":41,"tag":167,"props":4495,"children":4496},{"style":261},[4497],{"type":47,"value":309},{"type":41,"tag":167,"props":4499,"children":4500},{"class":169,"line":1903},[4501,4505,4509,4514],{"type":41,"tag":167,"props":4502,"children":4503},{"style":261},[4504],{"type":47,"value":648},{"type":41,"tag":167,"props":4506,"children":4507},{"style":255},[4508],{"type":47,"value":3964},{"type":41,"tag":167,"props":4510,"children":4511},{"style":267},[4512],{"type":47,"value":4513}," (err) ",{"type":41,"tag":167,"props":4515,"children":4516},{"style":261},[4517],{"type":47,"value":358},{"type":41,"tag":167,"props":4519,"children":4520},{"class":169,"line":1932},[4521,4525,4529,4533,4538,4542,4547,4551,4555,4560,4564,4568,4573],{"type":41,"tag":167,"props":4522,"children":4523},{"style":255},[4524],{"type":47,"value":3998},{"type":41,"tag":167,"props":4526,"children":4527},{"style":365},[4528],{"type":47,"value":2780},{"type":41,"tag":167,"props":4530,"children":4531},{"style":267},[4532],{"type":47,"value":3973},{"type":41,"tag":167,"props":4534,"children":4535},{"style":261},[4536],{"type":47,"value":4537}," instanceof",{"type":41,"tag":167,"props":4539,"children":4540},{"style":174},[4541],{"type":47,"value":3856},{"type":41,"tag":167,"props":4543,"children":4544},{"style":261},[4545],{"type":47,"value":4546}," &&",{"type":41,"tag":167,"props":4548,"children":4549},{"style":267},[4550],{"type":47,"value":4271},{"type":41,"tag":167,"props":4552,"children":4553},{"style":261},[4554],{"type":47,"value":432},{"type":41,"tag":167,"props":4556,"children":4557},{"style":267},[4558],{"type":47,"value":4559},"rpcCode",{"type":41,"tag":167,"props":4561,"children":4562},{"style":261},[4563],{"type":47,"value":4113},{"type":41,"tag":167,"props":4565,"children":4566},{"style":4116},[4567],{"type":47,"value":4119},{"type":41,"tag":167,"props":4569,"children":4570},{"style":365},[4571],{"type":47,"value":4572},") ",{"type":41,"tag":167,"props":4574,"children":4575},{"style":261},[4576],{"type":47,"value":358},{"type":41,"tag":167,"props":4578,"children":4579},{"class":169,"line":1962},[4580],{"type":41,"tag":167,"props":4581,"children":4582},{"style":483},[4583],{"type":47,"value":4584},"    \u002F\u002F User rejected the signature — not an app error\n",{"type":41,"tag":167,"props":4586,"children":4587},{"class":169,"line":1997},[4588,4592,4596],{"type":41,"tag":167,"props":4589,"children":4590},{"style":261},[4591],{"type":47,"value":4082},{"type":41,"tag":167,"props":4593,"children":4594},{"style":255},[4595],{"type":47,"value":4087},{"type":41,"tag":167,"props":4597,"children":4598},{"style":261},[4599],{"type":47,"value":378},{"type":41,"tag":167,"props":4601,"children":4602},{"class":169,"line":2027},[4603,4608,4612],{"type":41,"tag":167,"props":4604,"children":4605},{"style":255},[4606],{"type":47,"value":4607},"    throw",{"type":41,"tag":167,"props":4609,"children":4610},{"style":267},[4611],{"type":47,"value":4271},{"type":41,"tag":167,"props":4613,"children":4614},{"style":261},[4615],{"type":47,"value":309},{"type":41,"tag":167,"props":4617,"children":4618},{"class":169,"line":2044},[4619],{"type":41,"tag":167,"props":4620,"children":4621},{"style":261},[4622],{"type":47,"value":4287},{"type":41,"tag":167,"props":4624,"children":4625},{"class":169,"line":2052},[4626],{"type":41,"tag":167,"props":4627,"children":4628},{"style":261},[4629],{"type":47,"value":4295},{"type":41,"tag":50,"props":4631,"children":4633},{"id":4632},"important-notes",[4634],{"type":47,"value":4635},"Important Notes",{"type":41,"tag":63,"props":4637,"children":4638},{},[4639,4670,4717,4734,4767,4794,4804,4836],{"type":41,"tag":67,"props":4640,"children":4641},{},[4642,4647,4649,4654,4656,4661,4663,4668],{"type":41,"tag":234,"props":4643,"children":4644},{},[4645],{"type":47,"value":4646},"Singleton:",{"type":47,"value":4648}," ",{"type":41,"tag":78,"props":4650,"children":4652},{"className":4651},[],[4653],{"type":47,"value":83},{"type":47,"value":4655}," is a singleton. The ",{"type":41,"tag":78,"props":4657,"children":4659},{"className":4658},[],[4660],{"type":47,"value":781},{"type":47,"value":4662}," object from the first call is used for the client's lifetime (later calls' ",{"type":41,"tag":78,"props":4664,"children":4666},{"className":4665},[],[4667],{"type":47,"value":781},{"type":47,"value":4669}," is ignored). Call it once at app startup and reuse the returned client.",{"type":41,"tag":67,"props":4671,"children":4672},{},[4673,4678,4680,4685,4687,4692,4694,4700,4702,4707,4709,4715],{"type":41,"tag":234,"props":4674,"children":4675},{},[4676],{"type":47,"value":4677},"Concurrent connect throws on MWP:",{"type":47,"value":4679}," Never call ",{"type":41,"tag":78,"props":4681,"children":4683},{"className":4682},[],[4684],{"type":47,"value":2714},{"type":47,"value":4686}," while a previous ",{"type":41,"tag":78,"props":4688,"children":4690},{"className":4689},[],[4691],{"type":47,"value":2714},{"type":47,"value":4693}," is still pending — it throws a plain ",{"type":41,"tag":78,"props":4695,"children":4697},{"className":4696},[],[4698],{"type":47,"value":4699},"Error",{"type":47,"value":4701}," (\"Existing connection is pending...\") with ",{"type":41,"tag":234,"props":4703,"children":4704},{},[4705],{"type":47,"value":4706},"no numeric code",{"type":47,"value":4708},". (",{"type":41,"tag":78,"props":4710,"children":4712},{"className":4711},[],[4713],{"type":47,"value":4714},"-32002",{"type":47,"value":4716}," only comes from the extension transport's own RPC queue.)",{"type":41,"tag":67,"props":4718,"children":4719},{},[4720,4725,4727,4732],{"type":41,"tag":234,"props":4721,"children":4722},{},[4723],{"type":47,"value":4724},"EVM read vs sign routing:",{"type":47,"value":4726}," EVM read methods (eth_call, eth_getBalance, etc.) go to the RPC node configured in ",{"type":41,"tag":78,"props":4728,"children":4730},{"className":4729},[],[4731],{"type":47,"value":2087},{"type":47,"value":4733},". Signing methods go to the wallet. All Solana methods always go to the wallet.",{"type":41,"tag":67,"props":4735,"children":4736},{},[4737,4742,4744,4750,4752,4758,4760,4766],{"type":41,"tag":234,"props":4738,"children":4739},{},[4740],{"type":47,"value":4741},"Scope format:",{"type":47,"value":4743}," EVM scopes are ",{"type":41,"tag":78,"props":4745,"children":4747},{"className":4746},[],[4748],{"type":47,"value":4749},"'eip155:\u003CchainId-decimal>'",{"type":47,"value":4751}," (e.g., ",{"type":41,"tag":78,"props":4753,"children":4755},{"className":4754},[],[4756],{"type":47,"value":4757},"'eip155:1'",{"type":47,"value":4759},"). Solana scopes use the genesis hash: ",{"type":41,"tag":78,"props":4761,"children":4763},{"className":4762},[],[4764],{"type":47,"value":4765},"'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'",{"type":47,"value":432},{"type":41,"tag":67,"props":4768,"children":4769},{},[4770,4779,4781,4786,4788,4793],{"type":41,"tag":234,"props":4771,"children":4772},{},[4773,4778],{"type":41,"tag":78,"props":4774,"children":4776},{"className":4775},[],[4777],{"type":47,"value":128},{"type":47,"value":373},{"type":47,"value":4780}," Only fires during the connecting phase. Register before ",{"type":41,"tag":78,"props":4782,"children":4784},{"className":4783},[],[4785],{"type":47,"value":2714},{"type":47,"value":4787},". Do not regenerate QR on connection error — start a fresh ",{"type":41,"tag":78,"props":4789,"children":4791},{"className":4790},[],[4792],{"type":47,"value":2714},{"type":47,"value":432},{"type":41,"tag":67,"props":4795,"children":4796},{},[4797,4802],{"type":41,"tag":234,"props":4798,"children":4799},{},[4800],{"type":47,"value":4801},"Selective disconnect:",{"type":47,"value":4803}," Passing specific scopes only revokes those scopes. Omit arguments to fully terminate the session.",{"type":41,"tag":67,"props":4805,"children":4806},{},[4807,4812,4813,4819,4821,4826,4828,4834],{"type":41,"tag":234,"props":4808,"children":4809},{},[4810],{"type":47,"value":4811},"Node.js \u002F React Native:",{"type":47,"value":4648},{"type":41,"tag":78,"props":4814,"children":4816},{"className":4815},[],[4817],{"type":47,"value":4818},"dapp.url",{"type":47,"value":4820}," is ",{"type":41,"tag":234,"props":4822,"children":4823},{},[4824],{"type":47,"value":4825},"required",{"type":47,"value":4827}," in non-browser environments (there is no ",{"type":41,"tag":78,"props":4829,"children":4831},{"className":4830},[],[4832],{"type":47,"value":4833},"window.location",{"type":47,"value":4835},").",{"type":41,"tag":67,"props":4837,"children":4838},{},[4839,4844],{"type":41,"tag":234,"props":4840,"children":4841},{},[4842],{"type":47,"value":4843},"Solana networks:",{"type":47,"value":4845}," mainnet, devnet, and testnet scopes are all modeled by the SDK; non-mainnet availability depends on the connected MetaMask build\u002Fversion, so handle connection errors rather than assuming a cluster is present.",{"type":41,"tag":4847,"props":4848,"children":4849},"style",{},[4850],{"type":47,"value":4851},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4853,"total":1752},[4854,4869,4881,4891,4903,4920,4934],{"slug":4855,"name":4855,"fn":4856,"description":4857,"org":4858,"tags":4859,"stars":25,"repoUrl":26,"updatedAt":4868},"migrate-from-sdk","migrate MetaMask SDK to connect-evm and connect-solana","Migrate from @metamask\u002Fsdk to @metamask\u002Fconnect-evm, @metamask\u002Fconnect-multichain, and @metamask\u002Fconnect-solana with step-by-step package, API, and configuration changes",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4860,4861,4864,4867],{"name":23,"slug":24,"type":15},{"name":4862,"slug":4863,"type":15},"Migration","migration",{"name":4865,"slug":4866,"type":15},"SDK","sdk",{"name":13,"slug":14,"type":15},"2026-07-13T06:11:46.427441",{"slug":4870,"name":4870,"fn":4871,"description":4872,"org":4873,"tags":4874,"stars":25,"repoUrl":26,"updatedAt":4880},"migrate-wagmi-metamask-connector","migrate wagmi apps to MetaMask connector","Migrate a wagmi app from @metamask\u002Fsdk to the new @metamask\u002Fconnect-evm connector (wagmi PR",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4875,4876,4877,4879],{"name":23,"slug":24,"type":15},{"name":4862,"slug":4863,"type":15},{"name":4878,"slug":4878,"type":15},"wagmi",{"name":13,"slug":14,"type":15},"2026-07-13T06:12:23.110706",{"slug":4882,"name":4882,"fn":4883,"description":4884,"org":4885,"tags":4886,"stars":25,"repoUrl":26,"updatedAt":4890},"send-evm-transaction","send EVM transactions with MetaMask","Send ETH and contract transactions with MetaMask using eth_sendTransaction via the EIP-1193 provider, gas estimation, receipt polling, and the connectWith shortcut",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4887,4888,4889],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:11:56.866623",{"slug":4892,"name":4892,"fn":4893,"description":4894,"org":4895,"tags":4896,"stars":25,"repoUrl":26,"updatedAt":4902},"send-solana-transaction","send Solana transactions via MetaMask","Build and send a Solana transaction using MetaMask Connect. Covers both the React wallet-adapter approach (sendTransaction) and the vanilla browser approach (signAndSendTransaction wallet-standard feature).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4897,4900,4901],{"name":4898,"slug":4899,"type":15},"Payments","payments",{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:12:03.942378",{"slug":4904,"name":4904,"fn":4905,"description":4906,"org":4907,"tags":4908,"stars":25,"repoUrl":26,"updatedAt":4919},"setup-evm-browser-app","scaffold EVM browser applications with MetaMask","Scaffold a vanilla JS\u002FTS browser app with MetaMask EVM integration using createEVMClient, EIP-1193 provider event listeners, RPC methods, and chain switching with chainConfiguration fallback",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4909,4910,4913,4916,4918],{"name":23,"slug":24,"type":15},{"name":4911,"slug":4912,"type":15},"Frontend","frontend",{"name":4914,"slug":4915,"type":15},"JavaScript","javascript",{"name":4917,"slug":245,"type":15},"TypeScript",{"name":13,"slug":14,"type":15},"2026-07-13T06:12:01.334051",{"slug":4921,"name":4921,"fn":4922,"description":4923,"org":4924,"tags":4925,"stars":25,"repoUrl":26,"updatedAt":4933},"setup-evm-react-app","scaffold React apps with MetaMask integration","Scaffold a React app with MetaMask EVM integration using createEVMClient, useState\u002FuseEffect\u002FuseRef patterns, provider.request calls, chain switching, and error handling",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4926,4927,4928,4929,4932],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":4911,"slug":4912,"type":15},{"name":4930,"slug":4931,"type":15},"React","react",{"name":13,"slug":14,"type":15},"2026-07-13T06:11:52.764143",{"slug":4935,"name":4935,"fn":4936,"description":4937,"org":4938,"tags":4939,"stars":25,"repoUrl":26,"updatedAt":4948},"setup-evm-react-native-app","scaffold React Native apps with MetaMask","Scaffold a React Native app with MetaMask EVM integration including required polyfills, metro.config.js shims, import order constraints, mobile deeplinks, and a full component example",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4940,4941,4944,4947],{"name":23,"slug":24,"type":15},{"name":4942,"slug":4943,"type":15},"Mobile","mobile",{"name":4945,"slug":4946,"type":15},"React Native","react-native",{"name":13,"slug":14,"type":15},"2026-07-13T06:12:11.764689",{"items":4950,"total":1932},[4951,4969,4981,4993,5002,5011,5024,5040,5047,5054,5060,5066],{"slug":4952,"name":4952,"fn":4953,"description":4954,"org":4955,"tags":4956,"stars":4966,"repoUrl":4967,"updatedAt":4968},"smart-accounts-kit","build dApps with MetaMask Smart Accounts","Build dApps with MetaMask Smart Accounts Kit — ERC-4337 smart accounts, delegations, and Advanced Permissions (ERC-7715)",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4957,4958,4961,4962,4965],{"name":20,"slug":21,"type":15},{"name":4959,"slug":4960,"type":15},"Auth","auth",{"name":23,"slug":24,"type":15},{"name":4963,"slug":4964,"type":15},"Permissions","permissions",{"name":13,"slug":14,"type":15},54,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fsmart-accounts-kit","2026-07-13T06:11:32.8327",{"slug":4970,"name":4970,"fn":4971,"description":4972,"org":4973,"tags":4974,"stars":4966,"repoUrl":4967,"updatedAt":4980},"x402-payments","build x402 payment flows","Build x402 payment flows using MetaMask Smart Accounts Kit, machine to machine payments over HTTP with ERC-7710 delegations and ERC-7715 Advanced Permissions",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4975,4976,4977,4978],{"name":20,"slug":21,"type":15},{"name":4898,"slug":4899,"type":15},{"name":13,"slug":14,"type":15},{"name":4979,"slug":4979,"type":15},"x402","2026-07-13T06:11:30.877136",{"slug":4982,"name":4982,"fn":4983,"description":4984,"org":4985,"tags":4986,"stars":498,"repoUrl":4991,"updatedAt":4992},"discovery","discover and use services","Use the discovery tools to find and use services through a service matcher. Do not rely on prior knowledge of services, providers, or APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4987,4988],{"name":20,"slug":21,"type":15},{"name":4989,"slug":4990,"type":15},"Search","search","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Focap-kernel","2026-07-13T06:12:37.024095",{"slug":8,"name":8,"fn":4994,"description":4995,"org":4996,"tags":4997,"stars":498,"repoUrl":4991,"updatedAt":5001},"interact with MetaMask wallet capabilities","Use the MetaMask tools to request and interact with wallet capabilities from the MetaMask capability vendor.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4998,4999,5000],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:12:33.955806",{"slug":1345,"name":1345,"fn":5003,"description":5004,"org":5005,"tags":5006,"stars":498,"repoUrl":4991,"updatedAt":5010},"manage wallet balances and transactions","Use the wallet tools for all balance, send, and sign operations. Supports both ETH and ERC-20 tokens. The away wallet operates autonomously after setup — the home device does not need to be online.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5007,5008,5009],{"name":23,"slug":24,"type":15},{"name":4898,"slug":4899,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:12:35.380244",{"slug":5012,"name":5012,"fn":5013,"description":5014,"org":5015,"tags":5016,"stars":453,"repoUrl":5022,"updatedAt":5023},"metamask-connect","integrate MetaMask into dApps","Build dApps that integrate MetaMask via the MetaMask Connect SDK — EVM (@metamask\u002Fconnect-evm), Solana (@metamask\u002Fconnect-solana), and multichain (@metamask\u002Fconnect-multichain), plus the wagmi metaMask() connector. Covers client setup across browser\u002FReact\u002FReact Native, connecting, signing messages, sending transactions, multichain invokeMethod across CAIP-2 scopes, migrating from @metamask\u002Fsdk, and troubleshooting connection\u002Fpolyfill issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5017,5018,5019,5020,5021],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":4878,"slug":4878,"type":15},{"name":13,"slug":14,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fconnect-monorepo","2026-07-13T06:11:34.445665",{"slug":5025,"name":5025,"fn":5026,"description":5027,"org":5028,"tags":5029,"stars":381,"repoUrl":5038,"updatedAt":5039},"metamask-agent-wallet","manage blockchain wallets and transactions","Use when the user asks anything about blockchain wallets, transactions, signing, token transfers, supported chains, wallet balances, perpetual futures trading, prediction markets, token swaps, cross-chain bridges, market data, token discovery, decoding EVM calldata, DeFi earn\u002Fyield vaults, or authentication via the MetaMask Agentic CLI; also when an HTTP request returns 402 Payment Required (x402) or the agent needs to pay for a paywalled API, endpoint, file, or resource over HTTP. Single entry point for all mm CLI operations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5030,5033,5036,5037],{"name":5031,"slug":5032,"type":15},"Blockchain","blockchain",{"name":5034,"slug":5035,"type":15},"DeFi","defi",{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fagent-skills","2026-08-01T05:45:07.976522",{"slug":4855,"name":4855,"fn":4856,"description":4857,"org":5041,"tags":5042,"stars":25,"repoUrl":26,"updatedAt":4868},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5043,5044,5045,5046],{"name":23,"slug":24,"type":15},{"name":4862,"slug":4863,"type":15},{"name":4865,"slug":4866,"type":15},{"name":13,"slug":14,"type":15},{"slug":4870,"name":4870,"fn":4871,"description":4872,"org":5048,"tags":5049,"stars":25,"repoUrl":26,"updatedAt":4880},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5050,5051,5052,5053],{"name":23,"slug":24,"type":15},{"name":4862,"slug":4863,"type":15},{"name":4878,"slug":4878,"type":15},{"name":13,"slug":14,"type":15},{"slug":4882,"name":4882,"fn":4883,"description":4884,"org":5055,"tags":5056,"stars":25,"repoUrl":26,"updatedAt":4890},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5057,5058,5059],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"slug":4892,"name":4892,"fn":4893,"description":4894,"org":5061,"tags":5062,"stars":25,"repoUrl":26,"updatedAt":4902},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5063,5064,5065],{"name":4898,"slug":4899,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"slug":4904,"name":4904,"fn":4905,"description":4906,"org":5067,"tags":5068,"stars":25,"repoUrl":26,"updatedAt":4919},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5069,5070,5071,5072,5073],{"name":23,"slug":24,"type":15},{"name":4911,"slug":4912,"type":15},{"name":4914,"slug":4915,"type":15},{"name":4917,"slug":245,"type":15},{"name":13,"slug":14,"type":15}]