[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-metamask-send-solana-transaction":3,"mdc--mkmw9b-key":32,"related-repo-metamask-send-solana-transaction":5800,"related-org-metamask-send-solana-transaction":5895},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":22,"topics":26,"repo":27,"sourceUrl":30,"mdContent":31},"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},"metamask","MetaMask","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmetamask.png",[12,16,19],{"name":13,"slug":14,"type":15},"Web3","web3","tag",{"name":17,"slug":18,"type":15},"Payments","payments",{"name":20,"slug":21,"type":15},"Solana","solana",2,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fmetamask-connect-cursor-plugin","2026-07-13T06:12:03.942378",null,[],{"repoUrl":23,"stars":22,"forks":22,"topics":28,"description":29},[],"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\u002Fsend-solana-transaction","---\nname: send-solana-transaction\ndescription: 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).\n---\n# Send Solana Transaction with MetaMask\n\n## When to use\n\nUse this skill when:\n- Sending SOL or interacting with Solana programs via MetaMask Connect\n- Building a `Transaction` with `@solana\u002Fweb3.js` and submitting it through the wallet\n- Using `sendTransaction` from `useWallet` in a React app\n- Using the `solana:signAndSendTransaction` wallet-standard feature in a vanilla browser app\n\n## Workflow\n\n### Step 1: Build the transaction\n\nUse `@solana\u002Fweb3.js` to construct the transaction. Every transaction needs a recent blockhash and a fee payer.\n\n```typescript\nimport {\n  Connection,\n  Transaction,\n  SystemProgram,\n  PublicKey,\n  LAMPORTS_PER_SOL,\n} from '@solana\u002Fweb3.js';\n\nconst connection = new Connection('https:\u002F\u002Fapi.mainnet-beta.solana.com');\nconst { blockhash } = await connection.getLatestBlockhash();\n\nconst senderPubkey = new PublicKey('SENDER_PUBLIC_KEY');\nconst recipientPubkey = new PublicKey('RECIPIENT_PUBLIC_KEY');\n\nconst transaction = new Transaction().add(\n  SystemProgram.transfer({\n    fromPubkey: senderPubkey,\n    toPubkey: recipientPubkey,\n    lamports: 0.001 * LAMPORTS_PER_SOL,\n  }),\n);\ntransaction.recentBlockhash = blockhash;\ntransaction.feePayer = senderPubkey;\n```\n\n### Step 2a: Send with React wallet-adapter (useWallet)\n\n**Prerequisites:** `createSolanaClient` has been awaited before rendering, `WalletProvider` is configured with `wallets={[]}`, and the user is connected. See the `setup-solana-react-app` skill.\n\n```tsx\nimport { useWallet, useConnection } from '@solana\u002Fwallet-adapter-react';\nimport {\n  Transaction,\n  SystemProgram,\n  PublicKey,\n  LAMPORTS_PER_SOL,\n} from '@solana\u002Fweb3.js';\n\nfunction SendTransactionButton() {\n  const { publicKey, sendTransaction, connected } = useWallet();\n  const { connection } = useConnection();\n\n  const handleSend = async () => {\n    if (!publicKey || !sendTransaction) return;\n\n    try {\n      const { blockhash } = await connection.getLatestBlockhash();\n\n      const transaction = new Transaction().add(\n        SystemProgram.transfer({\n          fromPubkey: publicKey,\n          toPubkey: new PublicKey('RECIPIENT_PUBLIC_KEY'),\n          lamports: 0.001 * LAMPORTS_PER_SOL,\n        }),\n      );\n      transaction.recentBlockhash = blockhash;\n      transaction.feePayer = publicKey;\n\n      const signature = await sendTransaction(transaction, connection);\n      console.log('Transaction submitted:', signature);\n\n      const confirmation = await connection.confirmTransaction(signature, 'confirmed');\n      console.log('Transaction confirmed:', confirmation);\n    } catch (err: any) {\n      if (err.code === 4001) {\n        console.log('User rejected the transaction');\n        return;\n      }\n      console.error('Transaction failed:', err);\n    }\n  };\n\n  return (\n    \u003Cbutton onClick={handleSend} disabled={!connected || !publicKey}>\n      Send 0.001 SOL\n    \u003C\u002Fbutton>\n  );\n}\n```\n\n### Step 2b: Send with vanilla browser (wallet-standard feature)\n\n**Prerequisites:** `createSolanaClient` has been called and the wallet is connected via `standard:connect`. See the `setup-solana-browser-app` skill.\n\n```typescript\nimport { createSolanaClient } from '@metamask\u002Fconnect-solana';\nimport {\n  Connection,\n  Transaction,\n  SystemProgram,\n  PublicKey,\n  LAMPORTS_PER_SOL,\n} from '@solana\u002Fweb3.js';\n\nconst solanaClient = await createSolanaClient({\n  dapp: { name: 'My DApp', url: window.location.href },\n});\n\nconst wallet = solanaClient.getWallet();\n\n\u002F\u002F Connect first\nconst connectFeature = wallet.features['standard:connect'];\nconst { accounts } = await connectFeature.connect();\nconst account = accounts[0];\nconst senderPubkey = new PublicKey(account.address);\n\n\u002F\u002F Build the transaction\nconst connection = new Connection('https:\u002F\u002Fapi.mainnet-beta.solana.com');\nconst { blockhash } = await connection.getLatestBlockhash();\n\nconst transaction = new Transaction().add(\n  SystemProgram.transfer({\n    fromPubkey: senderPubkey,\n    toPubkey: new PublicKey('RECIPIENT_PUBLIC_KEY'),\n    lamports: 0.001 * LAMPORTS_PER_SOL,\n  }),\n);\ntransaction.recentBlockhash = blockhash;\ntransaction.feePayer = senderPubkey;\n\n\u002F\u002F Serialize and send\nconst serializedTransaction = transaction.serialize({\n  requireAllSignatures: false,\n});\n\nconst signAndSendFeature = wallet.features['solana:signAndSendTransaction'];\n\n\u002F\u002F The `chain` field accepts the wallet-standard short forms ('solana:mainnet',\n\u002F\u002F 'solana:devnet', 'solana:testnet') or the full genesis-hash CAIP-2 scope\n\u002F\u002F (e.g. 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'). It is optional and\n\u002F\u002F defaults to mainnet. Bare 'mainnet' (without the 'solana:' prefix) is\n\u002F\u002F INVALID here and throws 'Unsupported chainId' — the SolanaNetwork short\n\u002F\u002F names apply only to createSolanaClient's api.supportedNetworks keys.\n\n\u002F\u002F Requires `npm install bs58` and `import bs58 from 'bs58'` at the top of the file\ntry {\n  const [{ signature }] = await signAndSendFeature.signAndSendTransaction({\n    account,\n    transaction: serializedTransaction,\n    chain: 'solana:mainnet', \u002F\u002F wallet-standard short form; full genesis-hash CAIP-2 IDs also accepted\n  });\n\n  \u002F\u002F signature is a Uint8Array — encode with bs58 ('base58' is NOT a Buffer encoding)\n  const signatureBase58 = bs58.encode(signature);\n  console.log('Transaction submitted:', signatureBase58);\n\n  \u002F\u002F confirmTransaction expects the base58 signature string\n  const confirmation = await connection.confirmTransaction(signatureBase58, 'confirmed');\n  console.log('Transaction confirmed:', confirmation);\n} catch (err: any) {\n  if (err.code === 4001) {\n    console.log('User rejected the transaction');\n  } else {\n    console.error('Transaction failed:', err);\n  }\n}\n```\n\n### Step 3: Sign without sending (sign-only flow)\n\nIf you need to sign a transaction without broadcasting it (e.g., for offline signing or multi-sig):\n\n**React:**\n\n```typescript\nconst { signTransaction } = useWallet();\n\nif (signTransaction) {\n  const signedTransaction = await signTransaction(transaction);\n  \u002F\u002F signedTransaction is now signed but NOT sent — broadcast manually if needed\n  const rawTransaction = signedTransaction.serialize();\n  const signature = await connection.sendRawTransaction(rawTransaction);\n}\n```\n\n**Browser (wallet-standard):**\n\n```typescript\nconst signFeature = wallet.features['solana:signTransaction'];\n\nconst [{ signedTransaction }] = await signFeature.signTransaction({\n  account,\n  transaction: transaction.serialize({ requireAllSignatures: false }),\n  chain: 'solana:mainnet',\n});\n\n\u002F\u002F signedTransaction is serialized and signed — broadcast manually\nconst signature = await connection.sendRawTransaction(signedTransaction);\n```\n\n### Step 4: Send multiple transactions (batch)\n\nThere is **no** `solana:signAndSendAllTransactions` feature. The `solana:signAndSendTransaction` feature is **variadic** — pass multiple inputs and it returns one result per input:\n\n```typescript\nconst signAndSendFeature = wallet.features['solana:signAndSendTransaction'];\n\nconst results = await signAndSendFeature.signAndSendTransaction(\n  { account, transaction: serializedTx1, chain: 'solana:mainnet' },\n  { account, transaction: serializedTx2, chain: 'solana:mainnet' },\n  { account, transaction: serializedTx3, chain: 'solana:mainnet' },\n);\n\nfor (const { signature } of results) {\n  console.log('Tx signature:', bs58.encode(signature));\n}\n```\n\n### Step 5: Confirm the transaction\n\nAlways confirm after sending. Use `'confirmed'` commitment for most use cases:\n\n```typescript\nconst confirmation = await connection.confirmTransaction(signature, 'confirmed');\n\nif (confirmation.value.err) {\n  console.error('Transaction failed on-chain:', confirmation.value.err);\n} else {\n  console.log('Transaction succeeded');\n}\n```\n\n### Step 6: Error handling\n\n| Error | Cause | Action |\n|-------|-------|--------|\n| Code `4001` | User rejected in MetaMask | Show retry UI |\n| Code `-32002` | Request already pending | Wait for user to act in MetaMask |\n| `Blockhash not found` | Blockhash expired before submission | Fetch a new blockhash and rebuild |\n| `Insufficient funds` | Sender balance too low for transfer + fees | Show balance check UI |\n| `Transaction too large` | Transaction exceeds 1232 bytes | Split into multiple transactions |\n\n```typescript\ntry {\n  const signature = await sendTransaction(transaction, connection);\n  await connection.confirmTransaction(signature, 'confirmed');\n} catch (err: any) {\n  switch (err.code) {\n    case 4001:\n      \u002F\u002F User rejected\n      break;\n    case -32002:\n      \u002F\u002F Pending — ask user to check MetaMask\n      break;\n    default:\n      if (err.message?.includes('Blockhash not found')) {\n        \u002F\u002F Retry with fresh blockhash\n      }\n      console.error('Transaction error:', err);\n  }\n}\n```\n\n## Important Notes\n\n- **Always fetch a fresh blockhash** — blockhashes expire after ~60 seconds. Fetch `getLatestBlockhash()` immediately before building the transaction, not at app startup.\n- **Set `feePayer` before signing** — the transaction must have `feePayer` and `recentBlockhash` set before it is signed or serialized.\n- **Serialize with `requireAllSignatures: false`** — when using wallet-standard features directly, the wallet will add the signature. Serializing with `requireAllSignatures: true` (the default) will throw because the transaction isn't signed yet.\n- **`sendTransaction` vs `signAndSendTransaction`** — in the React adapter, `sendTransaction` handles serialization internally. With wallet-standard features, you must serialize the transaction yourself and pass the bytes.\n- **`chain` is only honored by `signAndSendTransaction`** — `signAndSendTransaction` reads the input's `chain` to pick the cluster, but `signTransaction`\u002F`signMessage` ignore any `chain` field and use the **connected session scope** instead. Passing `chain` to `signTransaction` is harmless but doesn't switch networks; connect with the scope you want to sign on.\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- **`disconnect()` only revokes Solana scopes** — EVM sessions remain active.\n- **Chrome on Android** — apply the `beforeunload` workaround for the known page-unload bug during wallet interactions.\n- **Confirm before reporting success** — a submitted transaction is not finalized until `confirmTransaction` returns. Always confirm before updating the UI.\n",{"data":33,"body":34},{"name":4,"description":6},{"type":35,"children":36},"root",[37,46,53,59,125,131,138,150,758,764,807,2069,2075,2105,3773,3779,3784,3792,4000,4008,4291,4297,4330,4731,4737,4750,4985,4991,5137,5546,5552,5794],{"type":38,"tag":39,"props":40,"children":42},"element","h1",{"id":41},"send-solana-transaction-with-metamask",[43],{"type":44,"value":45},"text","Send Solana Transaction with MetaMask",{"type":38,"tag":47,"props":48,"children":50},"h2",{"id":49},"when-to-use",[51],{"type":44,"value":52},"When to use",{"type":38,"tag":54,"props":55,"children":56},"p",{},[57],{"type":44,"value":58},"Use this skill when:",{"type":38,"tag":60,"props":61,"children":62},"ul",{},[63,69,91,112],{"type":38,"tag":64,"props":65,"children":66},"li",{},[67],{"type":44,"value":68},"Sending SOL or interacting with Solana programs via MetaMask Connect",{"type":38,"tag":64,"props":70,"children":71},{},[72,74,81,83,89],{"type":44,"value":73},"Building a ",{"type":38,"tag":75,"props":76,"children":78},"code",{"className":77},[],[79],{"type":44,"value":80},"Transaction",{"type":44,"value":82}," with ",{"type":38,"tag":75,"props":84,"children":86},{"className":85},[],[87],{"type":44,"value":88},"@solana\u002Fweb3.js",{"type":44,"value":90}," and submitting it through the wallet",{"type":38,"tag":64,"props":92,"children":93},{},[94,96,102,104,110],{"type":44,"value":95},"Using ",{"type":38,"tag":75,"props":97,"children":99},{"className":98},[],[100],{"type":44,"value":101},"sendTransaction",{"type":44,"value":103}," from ",{"type":38,"tag":75,"props":105,"children":107},{"className":106},[],[108],{"type":44,"value":109},"useWallet",{"type":44,"value":111}," in a React app",{"type":38,"tag":64,"props":113,"children":114},{},[115,117,123],{"type":44,"value":116},"Using the ",{"type":38,"tag":75,"props":118,"children":120},{"className":119},[],[121],{"type":44,"value":122},"solana:signAndSendTransaction",{"type":44,"value":124}," wallet-standard feature in a vanilla browser app",{"type":38,"tag":47,"props":126,"children":128},{"id":127},"workflow",[129],{"type":44,"value":130},"Workflow",{"type":38,"tag":132,"props":133,"children":135},"h3",{"id":134},"step-1-build-the-transaction",[136],{"type":44,"value":137},"Step 1: Build the transaction",{"type":38,"tag":54,"props":139,"children":140},{},[141,143,148],{"type":44,"value":142},"Use ",{"type":38,"tag":75,"props":144,"children":146},{"className":145},[],[147],{"type":44,"value":88},{"type":44,"value":149}," to construct the transaction. Every transaction needs a recent blockhash and a fee payer.",{"type":38,"tag":151,"props":152,"children":157},"pre",{"className":153,"code":154,"language":155,"meta":156,"style":156},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import {\n  Connection,\n  Transaction,\n  SystemProgram,\n  PublicKey,\n  LAMPORTS_PER_SOL,\n} from '@solana\u002Fweb3.js';\n\nconst connection = new Connection('https:\u002F\u002Fapi.mainnet-beta.solana.com');\nconst { blockhash } = await connection.getLatestBlockhash();\n\nconst senderPubkey = new PublicKey('SENDER_PUBLIC_KEY');\nconst recipientPubkey = new PublicKey('RECIPIENT_PUBLIC_KEY');\n\nconst transaction = new Transaction().add(\n  SystemProgram.transfer({\n    fromPubkey: senderPubkey,\n    toPubkey: recipientPubkey,\n    lamports: 0.001 * LAMPORTS_PER_SOL,\n  }),\n);\ntransaction.recentBlockhash = blockhash;\ntransaction.feePayer = senderPubkey;\n","typescript","",[158],{"type":38,"tag":75,"props":159,"children":160},{"__ignoreMap":156},[161,179,193,206,219,232,245,279,289,347,403,411,462,512,520,564,590,614,636,669,686,698,729],{"type":38,"tag":162,"props":163,"children":166},"span",{"class":164,"line":165},"line",1,[167,173],{"type":38,"tag":162,"props":168,"children":170},{"style":169},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[171],{"type":44,"value":172},"import",{"type":38,"tag":162,"props":174,"children":176},{"style":175},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[177],{"type":44,"value":178}," {\n",{"type":38,"tag":162,"props":180,"children":181},{"class":164,"line":22},[182,188],{"type":38,"tag":162,"props":183,"children":185},{"style":184},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[186],{"type":44,"value":187},"  Connection",{"type":38,"tag":162,"props":189,"children":190},{"style":175},[191],{"type":44,"value":192},",\n",{"type":38,"tag":162,"props":194,"children":196},{"class":164,"line":195},3,[197,202],{"type":38,"tag":162,"props":198,"children":199},{"style":184},[200],{"type":44,"value":201},"  Transaction",{"type":38,"tag":162,"props":203,"children":204},{"style":175},[205],{"type":44,"value":192},{"type":38,"tag":162,"props":207,"children":209},{"class":164,"line":208},4,[210,215],{"type":38,"tag":162,"props":211,"children":212},{"style":184},[213],{"type":44,"value":214},"  SystemProgram",{"type":38,"tag":162,"props":216,"children":217},{"style":175},[218],{"type":44,"value":192},{"type":38,"tag":162,"props":220,"children":222},{"class":164,"line":221},5,[223,228],{"type":38,"tag":162,"props":224,"children":225},{"style":184},[226],{"type":44,"value":227},"  PublicKey",{"type":38,"tag":162,"props":229,"children":230},{"style":175},[231],{"type":44,"value":192},{"type":38,"tag":162,"props":233,"children":235},{"class":164,"line":234},6,[236,241],{"type":38,"tag":162,"props":237,"children":238},{"style":184},[239],{"type":44,"value":240},"  LAMPORTS_PER_SOL",{"type":38,"tag":162,"props":242,"children":243},{"style":175},[244],{"type":44,"value":192},{"type":38,"tag":162,"props":246,"children":248},{"class":164,"line":247},7,[249,254,259,264,269,274],{"type":38,"tag":162,"props":250,"children":251},{"style":175},[252],{"type":44,"value":253},"}",{"type":38,"tag":162,"props":255,"children":256},{"style":169},[257],{"type":44,"value":258}," from",{"type":38,"tag":162,"props":260,"children":261},{"style":175},[262],{"type":44,"value":263}," '",{"type":38,"tag":162,"props":265,"children":267},{"style":266},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[268],{"type":44,"value":88},{"type":38,"tag":162,"props":270,"children":271},{"style":175},[272],{"type":44,"value":273},"'",{"type":38,"tag":162,"props":275,"children":276},{"style":175},[277],{"type":44,"value":278},";\n",{"type":38,"tag":162,"props":280,"children":282},{"class":164,"line":281},8,[283],{"type":38,"tag":162,"props":284,"children":286},{"emptyLinePlaceholder":285},true,[287],{"type":44,"value":288},"\n",{"type":38,"tag":162,"props":290,"children":292},{"class":164,"line":291},9,[293,299,304,309,314,320,325,329,334,338,343],{"type":38,"tag":162,"props":294,"children":296},{"style":295},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[297],{"type":44,"value":298},"const",{"type":38,"tag":162,"props":300,"children":301},{"style":184},[302],{"type":44,"value":303}," connection ",{"type":38,"tag":162,"props":305,"children":306},{"style":175},[307],{"type":44,"value":308},"=",{"type":38,"tag":162,"props":310,"children":311},{"style":175},[312],{"type":44,"value":313}," new",{"type":38,"tag":162,"props":315,"children":317},{"style":316},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[318],{"type":44,"value":319}," Connection",{"type":38,"tag":162,"props":321,"children":322},{"style":184},[323],{"type":44,"value":324},"(",{"type":38,"tag":162,"props":326,"children":327},{"style":175},[328],{"type":44,"value":273},{"type":38,"tag":162,"props":330,"children":331},{"style":266},[332],{"type":44,"value":333},"https:\u002F\u002Fapi.mainnet-beta.solana.com",{"type":38,"tag":162,"props":335,"children":336},{"style":175},[337],{"type":44,"value":273},{"type":38,"tag":162,"props":339,"children":340},{"style":184},[341],{"type":44,"value":342},")",{"type":38,"tag":162,"props":344,"children":345},{"style":175},[346],{"type":44,"value":278},{"type":38,"tag":162,"props":348,"children":350},{"class":164,"line":349},10,[351,355,360,365,369,374,379,384,389,394,399],{"type":38,"tag":162,"props":352,"children":353},{"style":295},[354],{"type":44,"value":298},{"type":38,"tag":162,"props":356,"children":357},{"style":175},[358],{"type":44,"value":359}," {",{"type":38,"tag":162,"props":361,"children":362},{"style":184},[363],{"type":44,"value":364}," blockhash ",{"type":38,"tag":162,"props":366,"children":367},{"style":175},[368],{"type":44,"value":253},{"type":38,"tag":162,"props":370,"children":371},{"style":175},[372],{"type":44,"value":373}," =",{"type":38,"tag":162,"props":375,"children":376},{"style":169},[377],{"type":44,"value":378}," await",{"type":38,"tag":162,"props":380,"children":381},{"style":184},[382],{"type":44,"value":383}," connection",{"type":38,"tag":162,"props":385,"children":386},{"style":175},[387],{"type":44,"value":388},".",{"type":38,"tag":162,"props":390,"children":391},{"style":316},[392],{"type":44,"value":393},"getLatestBlockhash",{"type":38,"tag":162,"props":395,"children":396},{"style":184},[397],{"type":44,"value":398},"()",{"type":38,"tag":162,"props":400,"children":401},{"style":175},[402],{"type":44,"value":278},{"type":38,"tag":162,"props":404,"children":406},{"class":164,"line":405},11,[407],{"type":38,"tag":162,"props":408,"children":409},{"emptyLinePlaceholder":285},[410],{"type":44,"value":288},{"type":38,"tag":162,"props":412,"children":414},{"class":164,"line":413},12,[415,419,424,428,432,437,441,445,450,454,458],{"type":38,"tag":162,"props":416,"children":417},{"style":295},[418],{"type":44,"value":298},{"type":38,"tag":162,"props":420,"children":421},{"style":184},[422],{"type":44,"value":423}," senderPubkey ",{"type":38,"tag":162,"props":425,"children":426},{"style":175},[427],{"type":44,"value":308},{"type":38,"tag":162,"props":429,"children":430},{"style":175},[431],{"type":44,"value":313},{"type":38,"tag":162,"props":433,"children":434},{"style":316},[435],{"type":44,"value":436}," PublicKey",{"type":38,"tag":162,"props":438,"children":439},{"style":184},[440],{"type":44,"value":324},{"type":38,"tag":162,"props":442,"children":443},{"style":175},[444],{"type":44,"value":273},{"type":38,"tag":162,"props":446,"children":447},{"style":266},[448],{"type":44,"value":449},"SENDER_PUBLIC_KEY",{"type":38,"tag":162,"props":451,"children":452},{"style":175},[453],{"type":44,"value":273},{"type":38,"tag":162,"props":455,"children":456},{"style":184},[457],{"type":44,"value":342},{"type":38,"tag":162,"props":459,"children":460},{"style":175},[461],{"type":44,"value":278},{"type":38,"tag":162,"props":463,"children":465},{"class":164,"line":464},13,[466,470,475,479,483,487,491,495,500,504,508],{"type":38,"tag":162,"props":467,"children":468},{"style":295},[469],{"type":44,"value":298},{"type":38,"tag":162,"props":471,"children":472},{"style":184},[473],{"type":44,"value":474}," recipientPubkey ",{"type":38,"tag":162,"props":476,"children":477},{"style":175},[478],{"type":44,"value":308},{"type":38,"tag":162,"props":480,"children":481},{"style":175},[482],{"type":44,"value":313},{"type":38,"tag":162,"props":484,"children":485},{"style":316},[486],{"type":44,"value":436},{"type":38,"tag":162,"props":488,"children":489},{"style":184},[490],{"type":44,"value":324},{"type":38,"tag":162,"props":492,"children":493},{"style":175},[494],{"type":44,"value":273},{"type":38,"tag":162,"props":496,"children":497},{"style":266},[498],{"type":44,"value":499},"RECIPIENT_PUBLIC_KEY",{"type":38,"tag":162,"props":501,"children":502},{"style":175},[503],{"type":44,"value":273},{"type":38,"tag":162,"props":505,"children":506},{"style":184},[507],{"type":44,"value":342},{"type":38,"tag":162,"props":509,"children":510},{"style":175},[511],{"type":44,"value":278},{"type":38,"tag":162,"props":513,"children":515},{"class":164,"line":514},14,[516],{"type":38,"tag":162,"props":517,"children":518},{"emptyLinePlaceholder":285},[519],{"type":44,"value":288},{"type":38,"tag":162,"props":521,"children":523},{"class":164,"line":522},15,[524,528,533,537,541,546,550,554,559],{"type":38,"tag":162,"props":525,"children":526},{"style":295},[527],{"type":44,"value":298},{"type":38,"tag":162,"props":529,"children":530},{"style":184},[531],{"type":44,"value":532}," transaction ",{"type":38,"tag":162,"props":534,"children":535},{"style":175},[536],{"type":44,"value":308},{"type":38,"tag":162,"props":538,"children":539},{"style":175},[540],{"type":44,"value":313},{"type":38,"tag":162,"props":542,"children":543},{"style":316},[544],{"type":44,"value":545}," Transaction",{"type":38,"tag":162,"props":547,"children":548},{"style":184},[549],{"type":44,"value":398},{"type":38,"tag":162,"props":551,"children":552},{"style":175},[553],{"type":44,"value":388},{"type":38,"tag":162,"props":555,"children":556},{"style":316},[557],{"type":44,"value":558},"add",{"type":38,"tag":162,"props":560,"children":561},{"style":184},[562],{"type":44,"value":563},"(\n",{"type":38,"tag":162,"props":565,"children":567},{"class":164,"line":566},16,[568,572,576,581,585],{"type":38,"tag":162,"props":569,"children":570},{"style":184},[571],{"type":44,"value":214},{"type":38,"tag":162,"props":573,"children":574},{"style":175},[575],{"type":44,"value":388},{"type":38,"tag":162,"props":577,"children":578},{"style":316},[579],{"type":44,"value":580},"transfer",{"type":38,"tag":162,"props":582,"children":583},{"style":184},[584],{"type":44,"value":324},{"type":38,"tag":162,"props":586,"children":587},{"style":175},[588],{"type":44,"value":589},"{\n",{"type":38,"tag":162,"props":591,"children":593},{"class":164,"line":592},17,[594,600,605,610],{"type":38,"tag":162,"props":595,"children":597},{"style":596},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[598],{"type":44,"value":599},"    fromPubkey",{"type":38,"tag":162,"props":601,"children":602},{"style":175},[603],{"type":44,"value":604},":",{"type":38,"tag":162,"props":606,"children":607},{"style":184},[608],{"type":44,"value":609}," senderPubkey",{"type":38,"tag":162,"props":611,"children":612},{"style":175},[613],{"type":44,"value":192},{"type":38,"tag":162,"props":615,"children":617},{"class":164,"line":616},18,[618,623,627,632],{"type":38,"tag":162,"props":619,"children":620},{"style":596},[621],{"type":44,"value":622},"    toPubkey",{"type":38,"tag":162,"props":624,"children":625},{"style":175},[626],{"type":44,"value":604},{"type":38,"tag":162,"props":628,"children":629},{"style":184},[630],{"type":44,"value":631}," recipientPubkey",{"type":38,"tag":162,"props":633,"children":634},{"style":175},[635],{"type":44,"value":192},{"type":38,"tag":162,"props":637,"children":639},{"class":164,"line":638},19,[640,645,649,655,660,665],{"type":38,"tag":162,"props":641,"children":642},{"style":596},[643],{"type":44,"value":644},"    lamports",{"type":38,"tag":162,"props":646,"children":647},{"style":175},[648],{"type":44,"value":604},{"type":38,"tag":162,"props":650,"children":652},{"style":651},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[653],{"type":44,"value":654}," 0.001",{"type":38,"tag":162,"props":656,"children":657},{"style":175},[658],{"type":44,"value":659}," *",{"type":38,"tag":162,"props":661,"children":662},{"style":184},[663],{"type":44,"value":664}," LAMPORTS_PER_SOL",{"type":38,"tag":162,"props":666,"children":667},{"style":175},[668],{"type":44,"value":192},{"type":38,"tag":162,"props":670,"children":672},{"class":164,"line":671},20,[673,678,682],{"type":38,"tag":162,"props":674,"children":675},{"style":175},[676],{"type":44,"value":677},"  }",{"type":38,"tag":162,"props":679,"children":680},{"style":184},[681],{"type":44,"value":342},{"type":38,"tag":162,"props":683,"children":684},{"style":175},[685],{"type":44,"value":192},{"type":38,"tag":162,"props":687,"children":689},{"class":164,"line":688},21,[690,694],{"type":38,"tag":162,"props":691,"children":692},{"style":184},[693],{"type":44,"value":342},{"type":38,"tag":162,"props":695,"children":696},{"style":175},[697],{"type":44,"value":278},{"type":38,"tag":162,"props":699,"children":701},{"class":164,"line":700},22,[702,707,711,716,720,725],{"type":38,"tag":162,"props":703,"children":704},{"style":184},[705],{"type":44,"value":706},"transaction",{"type":38,"tag":162,"props":708,"children":709},{"style":175},[710],{"type":44,"value":388},{"type":38,"tag":162,"props":712,"children":713},{"style":184},[714],{"type":44,"value":715},"recentBlockhash ",{"type":38,"tag":162,"props":717,"children":718},{"style":175},[719],{"type":44,"value":308},{"type":38,"tag":162,"props":721,"children":722},{"style":184},[723],{"type":44,"value":724}," blockhash",{"type":38,"tag":162,"props":726,"children":727},{"style":175},[728],{"type":44,"value":278},{"type":38,"tag":162,"props":730,"children":732},{"class":164,"line":731},23,[733,737,741,746,750,754],{"type":38,"tag":162,"props":734,"children":735},{"style":184},[736],{"type":44,"value":706},{"type":38,"tag":162,"props":738,"children":739},{"style":175},[740],{"type":44,"value":388},{"type":38,"tag":162,"props":742,"children":743},{"style":184},[744],{"type":44,"value":745},"feePayer ",{"type":38,"tag":162,"props":747,"children":748},{"style":175},[749],{"type":44,"value":308},{"type":38,"tag":162,"props":751,"children":752},{"style":184},[753],{"type":44,"value":609},{"type":38,"tag":162,"props":755,"children":756},{"style":175},[757],{"type":44,"value":278},{"type":38,"tag":132,"props":759,"children":761},{"id":760},"step-2a-send-with-react-wallet-adapter-usewallet",[762],{"type":44,"value":763},"Step 2a: Send with React wallet-adapter (useWallet)",{"type":38,"tag":54,"props":765,"children":766},{},[767,773,775,781,783,789,791,797,799,805],{"type":38,"tag":768,"props":769,"children":770},"strong",{},[771],{"type":44,"value":772},"Prerequisites:",{"type":44,"value":774}," ",{"type":38,"tag":75,"props":776,"children":778},{"className":777},[],[779],{"type":44,"value":780},"createSolanaClient",{"type":44,"value":782}," has been awaited before rendering, ",{"type":38,"tag":75,"props":784,"children":786},{"className":785},[],[787],{"type":44,"value":788},"WalletProvider",{"type":44,"value":790}," is configured with ",{"type":38,"tag":75,"props":792,"children":794},{"className":793},[],[795],{"type":44,"value":796},"wallets={[]}",{"type":44,"value":798},", and the user is connected. See the ",{"type":38,"tag":75,"props":800,"children":802},{"className":801},[],[803],{"type":44,"value":804},"setup-solana-react-app",{"type":44,"value":806}," skill.",{"type":38,"tag":151,"props":808,"children":812},{"className":809,"code":810,"language":811,"meta":156,"style":156},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { useWallet, useConnection } from '@solana\u002Fwallet-adapter-react';\nimport {\n  Transaction,\n  SystemProgram,\n  PublicKey,\n  LAMPORTS_PER_SOL,\n} from '@solana\u002Fweb3.js';\n\nfunction SendTransactionButton() {\n  const { publicKey, sendTransaction, connected } = useWallet();\n  const { connection } = useConnection();\n\n  const handleSend = async () => {\n    if (!publicKey || !sendTransaction) return;\n\n    try {\n      const { blockhash } = await connection.getLatestBlockhash();\n\n      const transaction = new Transaction().add(\n        SystemProgram.transfer({\n          fromPubkey: publicKey,\n          toPubkey: new PublicKey('RECIPIENT_PUBLIC_KEY'),\n          lamports: 0.001 * LAMPORTS_PER_SOL,\n        }),\n      );\n      transaction.recentBlockhash = blockhash;\n      transaction.feePayer = publicKey;\n\n      const signature = await sendTransaction(transaction, connection);\n      console.log('Transaction submitted:', signature);\n\n      const confirmation = await connection.confirmTransaction(signature, 'confirmed');\n      console.log('Transaction confirmed:', confirmation);\n    } catch (err: any) {\n      if (err.code === 4001) {\n        console.log('User rejected the transaction');\n        return;\n      }\n      console.error('Transaction failed:', err);\n    }\n  };\n\n  return (\n    \u003Cbutton onClick={handleSend} disabled={!connected || !publicKey}>\n      Send 0.001 SOL\n    \u003C\u002Fbutton>\n  );\n}\n","tsx",[813],{"type":38,"tag":75,"props":814,"children":815},{"__ignoreMap":156},[816,868,879,890,901,912,923,950,957,978,1033,1068,1075,1110,1161,1168,1180,1228,1235,1275,1299,1319,1363,1391,1408,1421,1451,1480,1488,1537,1588,1596,1664,1713,1755,1798,1840,1853,1862,1913,1922,1931,1939,1953,2020,2029,2047,2060],{"type":38,"tag":162,"props":817,"children":818},{"class":164,"line":165},[819,823,827,832,837,842,847,851,855,860,864],{"type":38,"tag":162,"props":820,"children":821},{"style":169},[822],{"type":44,"value":172},{"type":38,"tag":162,"props":824,"children":825},{"style":175},[826],{"type":44,"value":359},{"type":38,"tag":162,"props":828,"children":829},{"style":184},[830],{"type":44,"value":831}," useWallet",{"type":38,"tag":162,"props":833,"children":834},{"style":175},[835],{"type":44,"value":836},",",{"type":38,"tag":162,"props":838,"children":839},{"style":184},[840],{"type":44,"value":841}," useConnection",{"type":38,"tag":162,"props":843,"children":844},{"style":175},[845],{"type":44,"value":846}," }",{"type":38,"tag":162,"props":848,"children":849},{"style":169},[850],{"type":44,"value":258},{"type":38,"tag":162,"props":852,"children":853},{"style":175},[854],{"type":44,"value":263},{"type":38,"tag":162,"props":856,"children":857},{"style":266},[858],{"type":44,"value":859},"@solana\u002Fwallet-adapter-react",{"type":38,"tag":162,"props":861,"children":862},{"style":175},[863],{"type":44,"value":273},{"type":38,"tag":162,"props":865,"children":866},{"style":175},[867],{"type":44,"value":278},{"type":38,"tag":162,"props":869,"children":870},{"class":164,"line":22},[871,875],{"type":38,"tag":162,"props":872,"children":873},{"style":169},[874],{"type":44,"value":172},{"type":38,"tag":162,"props":876,"children":877},{"style":175},[878],{"type":44,"value":178},{"type":38,"tag":162,"props":880,"children":881},{"class":164,"line":195},[882,886],{"type":38,"tag":162,"props":883,"children":884},{"style":184},[885],{"type":44,"value":201},{"type":38,"tag":162,"props":887,"children":888},{"style":175},[889],{"type":44,"value":192},{"type":38,"tag":162,"props":891,"children":892},{"class":164,"line":208},[893,897],{"type":38,"tag":162,"props":894,"children":895},{"style":184},[896],{"type":44,"value":214},{"type":38,"tag":162,"props":898,"children":899},{"style":175},[900],{"type":44,"value":192},{"type":38,"tag":162,"props":902,"children":903},{"class":164,"line":221},[904,908],{"type":38,"tag":162,"props":905,"children":906},{"style":184},[907],{"type":44,"value":227},{"type":38,"tag":162,"props":909,"children":910},{"style":175},[911],{"type":44,"value":192},{"type":38,"tag":162,"props":913,"children":914},{"class":164,"line":234},[915,919],{"type":38,"tag":162,"props":916,"children":917},{"style":184},[918],{"type":44,"value":240},{"type":38,"tag":162,"props":920,"children":921},{"style":175},[922],{"type":44,"value":192},{"type":38,"tag":162,"props":924,"children":925},{"class":164,"line":247},[926,930,934,938,942,946],{"type":38,"tag":162,"props":927,"children":928},{"style":175},[929],{"type":44,"value":253},{"type":38,"tag":162,"props":931,"children":932},{"style":169},[933],{"type":44,"value":258},{"type":38,"tag":162,"props":935,"children":936},{"style":175},[937],{"type":44,"value":263},{"type":38,"tag":162,"props":939,"children":940},{"style":266},[941],{"type":44,"value":88},{"type":38,"tag":162,"props":943,"children":944},{"style":175},[945],{"type":44,"value":273},{"type":38,"tag":162,"props":947,"children":948},{"style":175},[949],{"type":44,"value":278},{"type":38,"tag":162,"props":951,"children":952},{"class":164,"line":281},[953],{"type":38,"tag":162,"props":954,"children":955},{"emptyLinePlaceholder":285},[956],{"type":44,"value":288},{"type":38,"tag":162,"props":958,"children":959},{"class":164,"line":291},[960,965,970,974],{"type":38,"tag":162,"props":961,"children":962},{"style":295},[963],{"type":44,"value":964},"function",{"type":38,"tag":162,"props":966,"children":967},{"style":316},[968],{"type":44,"value":969}," SendTransactionButton",{"type":38,"tag":162,"props":971,"children":972},{"style":175},[973],{"type":44,"value":398},{"type":38,"tag":162,"props":975,"children":976},{"style":175},[977],{"type":44,"value":178},{"type":38,"tag":162,"props":979,"children":980},{"class":164,"line":349},[981,986,990,995,999,1004,1008,1013,1017,1021,1025,1029],{"type":38,"tag":162,"props":982,"children":983},{"style":295},[984],{"type":44,"value":985},"  const",{"type":38,"tag":162,"props":987,"children":988},{"style":175},[989],{"type":44,"value":359},{"type":38,"tag":162,"props":991,"children":992},{"style":184},[993],{"type":44,"value":994}," publicKey",{"type":38,"tag":162,"props":996,"children":997},{"style":175},[998],{"type":44,"value":836},{"type":38,"tag":162,"props":1000,"children":1001},{"style":184},[1002],{"type":44,"value":1003}," sendTransaction",{"type":38,"tag":162,"props":1005,"children":1006},{"style":175},[1007],{"type":44,"value":836},{"type":38,"tag":162,"props":1009,"children":1010},{"style":184},[1011],{"type":44,"value":1012}," connected",{"type":38,"tag":162,"props":1014,"children":1015},{"style":175},[1016],{"type":44,"value":846},{"type":38,"tag":162,"props":1018,"children":1019},{"style":175},[1020],{"type":44,"value":373},{"type":38,"tag":162,"props":1022,"children":1023},{"style":316},[1024],{"type":44,"value":831},{"type":38,"tag":162,"props":1026,"children":1027},{"style":596},[1028],{"type":44,"value":398},{"type":38,"tag":162,"props":1030,"children":1031},{"style":175},[1032],{"type":44,"value":278},{"type":38,"tag":162,"props":1034,"children":1035},{"class":164,"line":405},[1036,1040,1044,1048,1052,1056,1060,1064],{"type":38,"tag":162,"props":1037,"children":1038},{"style":295},[1039],{"type":44,"value":985},{"type":38,"tag":162,"props":1041,"children":1042},{"style":175},[1043],{"type":44,"value":359},{"type":38,"tag":162,"props":1045,"children":1046},{"style":184},[1047],{"type":44,"value":383},{"type":38,"tag":162,"props":1049,"children":1050},{"style":175},[1051],{"type":44,"value":846},{"type":38,"tag":162,"props":1053,"children":1054},{"style":175},[1055],{"type":44,"value":373},{"type":38,"tag":162,"props":1057,"children":1058},{"style":316},[1059],{"type":44,"value":841},{"type":38,"tag":162,"props":1061,"children":1062},{"style":596},[1063],{"type":44,"value":398},{"type":38,"tag":162,"props":1065,"children":1066},{"style":175},[1067],{"type":44,"value":278},{"type":38,"tag":162,"props":1069,"children":1070},{"class":164,"line":413},[1071],{"type":38,"tag":162,"props":1072,"children":1073},{"emptyLinePlaceholder":285},[1074],{"type":44,"value":288},{"type":38,"tag":162,"props":1076,"children":1077},{"class":164,"line":464},[1078,1082,1087,1091,1096,1101,1106],{"type":38,"tag":162,"props":1079,"children":1080},{"style":295},[1081],{"type":44,"value":985},{"type":38,"tag":162,"props":1083,"children":1084},{"style":184},[1085],{"type":44,"value":1086}," handleSend",{"type":38,"tag":162,"props":1088,"children":1089},{"style":175},[1090],{"type":44,"value":373},{"type":38,"tag":162,"props":1092,"children":1093},{"style":295},[1094],{"type":44,"value":1095}," async",{"type":38,"tag":162,"props":1097,"children":1098},{"style":175},[1099],{"type":44,"value":1100}," ()",{"type":38,"tag":162,"props":1102,"children":1103},{"style":295},[1104],{"type":44,"value":1105}," =>",{"type":38,"tag":162,"props":1107,"children":1108},{"style":175},[1109],{"type":44,"value":178},{"type":38,"tag":162,"props":1111,"children":1112},{"class":164,"line":514},[1113,1118,1123,1128,1133,1138,1143,1147,1152,1157],{"type":38,"tag":162,"props":1114,"children":1115},{"style":169},[1116],{"type":44,"value":1117},"    if",{"type":38,"tag":162,"props":1119,"children":1120},{"style":596},[1121],{"type":44,"value":1122}," (",{"type":38,"tag":162,"props":1124,"children":1125},{"style":175},[1126],{"type":44,"value":1127},"!",{"type":38,"tag":162,"props":1129,"children":1130},{"style":184},[1131],{"type":44,"value":1132},"publicKey",{"type":38,"tag":162,"props":1134,"children":1135},{"style":175},[1136],{"type":44,"value":1137}," ||",{"type":38,"tag":162,"props":1139,"children":1140},{"style":175},[1141],{"type":44,"value":1142}," !",{"type":38,"tag":162,"props":1144,"children":1145},{"style":184},[1146],{"type":44,"value":101},{"type":38,"tag":162,"props":1148,"children":1149},{"style":596},[1150],{"type":44,"value":1151},") ",{"type":38,"tag":162,"props":1153,"children":1154},{"style":169},[1155],{"type":44,"value":1156},"return",{"type":38,"tag":162,"props":1158,"children":1159},{"style":175},[1160],{"type":44,"value":278},{"type":38,"tag":162,"props":1162,"children":1163},{"class":164,"line":522},[1164],{"type":38,"tag":162,"props":1165,"children":1166},{"emptyLinePlaceholder":285},[1167],{"type":44,"value":288},{"type":38,"tag":162,"props":1169,"children":1170},{"class":164,"line":566},[1171,1176],{"type":38,"tag":162,"props":1172,"children":1173},{"style":169},[1174],{"type":44,"value":1175},"    try",{"type":38,"tag":162,"props":1177,"children":1178},{"style":175},[1179],{"type":44,"value":178},{"type":38,"tag":162,"props":1181,"children":1182},{"class":164,"line":592},[1183,1188,1192,1196,1200,1204,1208,1212,1216,1220,1224],{"type":38,"tag":162,"props":1184,"children":1185},{"style":295},[1186],{"type":44,"value":1187},"      const",{"type":38,"tag":162,"props":1189,"children":1190},{"style":175},[1191],{"type":44,"value":359},{"type":38,"tag":162,"props":1193,"children":1194},{"style":184},[1195],{"type":44,"value":724},{"type":38,"tag":162,"props":1197,"children":1198},{"style":175},[1199],{"type":44,"value":846},{"type":38,"tag":162,"props":1201,"children":1202},{"style":175},[1203],{"type":44,"value":373},{"type":38,"tag":162,"props":1205,"children":1206},{"style":169},[1207],{"type":44,"value":378},{"type":38,"tag":162,"props":1209,"children":1210},{"style":184},[1211],{"type":44,"value":383},{"type":38,"tag":162,"props":1213,"children":1214},{"style":175},[1215],{"type":44,"value":388},{"type":38,"tag":162,"props":1217,"children":1218},{"style":316},[1219],{"type":44,"value":393},{"type":38,"tag":162,"props":1221,"children":1222},{"style":596},[1223],{"type":44,"value":398},{"type":38,"tag":162,"props":1225,"children":1226},{"style":175},[1227],{"type":44,"value":278},{"type":38,"tag":162,"props":1229,"children":1230},{"class":164,"line":616},[1231],{"type":38,"tag":162,"props":1232,"children":1233},{"emptyLinePlaceholder":285},[1234],{"type":44,"value":288},{"type":38,"tag":162,"props":1236,"children":1237},{"class":164,"line":638},[1238,1242,1247,1251,1255,1259,1263,1267,1271],{"type":38,"tag":162,"props":1239,"children":1240},{"style":295},[1241],{"type":44,"value":1187},{"type":38,"tag":162,"props":1243,"children":1244},{"style":184},[1245],{"type":44,"value":1246}," transaction",{"type":38,"tag":162,"props":1248,"children":1249},{"style":175},[1250],{"type":44,"value":373},{"type":38,"tag":162,"props":1252,"children":1253},{"style":175},[1254],{"type":44,"value":313},{"type":38,"tag":162,"props":1256,"children":1257},{"style":316},[1258],{"type":44,"value":545},{"type":38,"tag":162,"props":1260,"children":1261},{"style":596},[1262],{"type":44,"value":398},{"type":38,"tag":162,"props":1264,"children":1265},{"style":175},[1266],{"type":44,"value":388},{"type":38,"tag":162,"props":1268,"children":1269},{"style":316},[1270],{"type":44,"value":558},{"type":38,"tag":162,"props":1272,"children":1273},{"style":596},[1274],{"type":44,"value":563},{"type":38,"tag":162,"props":1276,"children":1277},{"class":164,"line":671},[1278,1283,1287,1291,1295],{"type":38,"tag":162,"props":1279,"children":1280},{"style":184},[1281],{"type":44,"value":1282},"        SystemProgram",{"type":38,"tag":162,"props":1284,"children":1285},{"style":175},[1286],{"type":44,"value":388},{"type":38,"tag":162,"props":1288,"children":1289},{"style":316},[1290],{"type":44,"value":580},{"type":38,"tag":162,"props":1292,"children":1293},{"style":596},[1294],{"type":44,"value":324},{"type":38,"tag":162,"props":1296,"children":1297},{"style":175},[1298],{"type":44,"value":589},{"type":38,"tag":162,"props":1300,"children":1301},{"class":164,"line":688},[1302,1307,1311,1315],{"type":38,"tag":162,"props":1303,"children":1304},{"style":596},[1305],{"type":44,"value":1306},"          fromPubkey",{"type":38,"tag":162,"props":1308,"children":1309},{"style":175},[1310],{"type":44,"value":604},{"type":38,"tag":162,"props":1312,"children":1313},{"style":184},[1314],{"type":44,"value":994},{"type":38,"tag":162,"props":1316,"children":1317},{"style":175},[1318],{"type":44,"value":192},{"type":38,"tag":162,"props":1320,"children":1321},{"class":164,"line":700},[1322,1327,1331,1335,1339,1343,1347,1351,1355,1359],{"type":38,"tag":162,"props":1323,"children":1324},{"style":596},[1325],{"type":44,"value":1326},"          toPubkey",{"type":38,"tag":162,"props":1328,"children":1329},{"style":175},[1330],{"type":44,"value":604},{"type":38,"tag":162,"props":1332,"children":1333},{"style":175},[1334],{"type":44,"value":313},{"type":38,"tag":162,"props":1336,"children":1337},{"style":316},[1338],{"type":44,"value":436},{"type":38,"tag":162,"props":1340,"children":1341},{"style":596},[1342],{"type":44,"value":324},{"type":38,"tag":162,"props":1344,"children":1345},{"style":175},[1346],{"type":44,"value":273},{"type":38,"tag":162,"props":1348,"children":1349},{"style":266},[1350],{"type":44,"value":499},{"type":38,"tag":162,"props":1352,"children":1353},{"style":175},[1354],{"type":44,"value":273},{"type":38,"tag":162,"props":1356,"children":1357},{"style":596},[1358],{"type":44,"value":342},{"type":38,"tag":162,"props":1360,"children":1361},{"style":175},[1362],{"type":44,"value":192},{"type":38,"tag":162,"props":1364,"children":1365},{"class":164,"line":731},[1366,1371,1375,1379,1383,1387],{"type":38,"tag":162,"props":1367,"children":1368},{"style":596},[1369],{"type":44,"value":1370},"          lamports",{"type":38,"tag":162,"props":1372,"children":1373},{"style":175},[1374],{"type":44,"value":604},{"type":38,"tag":162,"props":1376,"children":1377},{"style":651},[1378],{"type":44,"value":654},{"type":38,"tag":162,"props":1380,"children":1381},{"style":175},[1382],{"type":44,"value":659},{"type":38,"tag":162,"props":1384,"children":1385},{"style":184},[1386],{"type":44,"value":664},{"type":38,"tag":162,"props":1388,"children":1389},{"style":175},[1390],{"type":44,"value":192},{"type":38,"tag":162,"props":1392,"children":1394},{"class":164,"line":1393},24,[1395,1400,1404],{"type":38,"tag":162,"props":1396,"children":1397},{"style":175},[1398],{"type":44,"value":1399},"        }",{"type":38,"tag":162,"props":1401,"children":1402},{"style":596},[1403],{"type":44,"value":342},{"type":38,"tag":162,"props":1405,"children":1406},{"style":175},[1407],{"type":44,"value":192},{"type":38,"tag":162,"props":1409,"children":1411},{"class":164,"line":1410},25,[1412,1417],{"type":38,"tag":162,"props":1413,"children":1414},{"style":596},[1415],{"type":44,"value":1416},"      )",{"type":38,"tag":162,"props":1418,"children":1419},{"style":175},[1420],{"type":44,"value":278},{"type":38,"tag":162,"props":1422,"children":1424},{"class":164,"line":1423},26,[1425,1430,1434,1439,1443,1447],{"type":38,"tag":162,"props":1426,"children":1427},{"style":184},[1428],{"type":44,"value":1429},"      transaction",{"type":38,"tag":162,"props":1431,"children":1432},{"style":175},[1433],{"type":44,"value":388},{"type":38,"tag":162,"props":1435,"children":1436},{"style":184},[1437],{"type":44,"value":1438},"recentBlockhash",{"type":38,"tag":162,"props":1440,"children":1441},{"style":175},[1442],{"type":44,"value":373},{"type":38,"tag":162,"props":1444,"children":1445},{"style":184},[1446],{"type":44,"value":724},{"type":38,"tag":162,"props":1448,"children":1449},{"style":175},[1450],{"type":44,"value":278},{"type":38,"tag":162,"props":1452,"children":1454},{"class":164,"line":1453},27,[1455,1459,1463,1468,1472,1476],{"type":38,"tag":162,"props":1456,"children":1457},{"style":184},[1458],{"type":44,"value":1429},{"type":38,"tag":162,"props":1460,"children":1461},{"style":175},[1462],{"type":44,"value":388},{"type":38,"tag":162,"props":1464,"children":1465},{"style":184},[1466],{"type":44,"value":1467},"feePayer",{"type":38,"tag":162,"props":1469,"children":1470},{"style":175},[1471],{"type":44,"value":373},{"type":38,"tag":162,"props":1473,"children":1474},{"style":184},[1475],{"type":44,"value":994},{"type":38,"tag":162,"props":1477,"children":1478},{"style":175},[1479],{"type":44,"value":278},{"type":38,"tag":162,"props":1481,"children":1483},{"class":164,"line":1482},28,[1484],{"type":38,"tag":162,"props":1485,"children":1486},{"emptyLinePlaceholder":285},[1487],{"type":44,"value":288},{"type":38,"tag":162,"props":1489,"children":1491},{"class":164,"line":1490},29,[1492,1496,1501,1505,1509,1513,1517,1521,1525,1529,1533],{"type":38,"tag":162,"props":1493,"children":1494},{"style":295},[1495],{"type":44,"value":1187},{"type":38,"tag":162,"props":1497,"children":1498},{"style":184},[1499],{"type":44,"value":1500}," signature",{"type":38,"tag":162,"props":1502,"children":1503},{"style":175},[1504],{"type":44,"value":373},{"type":38,"tag":162,"props":1506,"children":1507},{"style":169},[1508],{"type":44,"value":378},{"type":38,"tag":162,"props":1510,"children":1511},{"style":316},[1512],{"type":44,"value":1003},{"type":38,"tag":162,"props":1514,"children":1515},{"style":596},[1516],{"type":44,"value":324},{"type":38,"tag":162,"props":1518,"children":1519},{"style":184},[1520],{"type":44,"value":706},{"type":38,"tag":162,"props":1522,"children":1523},{"style":175},[1524],{"type":44,"value":836},{"type":38,"tag":162,"props":1526,"children":1527},{"style":184},[1528],{"type":44,"value":383},{"type":38,"tag":162,"props":1530,"children":1531},{"style":596},[1532],{"type":44,"value":342},{"type":38,"tag":162,"props":1534,"children":1535},{"style":175},[1536],{"type":44,"value":278},{"type":38,"tag":162,"props":1538,"children":1540},{"class":164,"line":1539},30,[1541,1546,1550,1555,1559,1563,1568,1572,1576,1580,1584],{"type":38,"tag":162,"props":1542,"children":1543},{"style":184},[1544],{"type":44,"value":1545},"      console",{"type":38,"tag":162,"props":1547,"children":1548},{"style":175},[1549],{"type":44,"value":388},{"type":38,"tag":162,"props":1551,"children":1552},{"style":316},[1553],{"type":44,"value":1554},"log",{"type":38,"tag":162,"props":1556,"children":1557},{"style":596},[1558],{"type":44,"value":324},{"type":38,"tag":162,"props":1560,"children":1561},{"style":175},[1562],{"type":44,"value":273},{"type":38,"tag":162,"props":1564,"children":1565},{"style":266},[1566],{"type":44,"value":1567},"Transaction submitted:",{"type":38,"tag":162,"props":1569,"children":1570},{"style":175},[1571],{"type":44,"value":273},{"type":38,"tag":162,"props":1573,"children":1574},{"style":175},[1575],{"type":44,"value":836},{"type":38,"tag":162,"props":1577,"children":1578},{"style":184},[1579],{"type":44,"value":1500},{"type":38,"tag":162,"props":1581,"children":1582},{"style":596},[1583],{"type":44,"value":342},{"type":38,"tag":162,"props":1585,"children":1586},{"style":175},[1587],{"type":44,"value":278},{"type":38,"tag":162,"props":1589,"children":1591},{"class":164,"line":1590},31,[1592],{"type":38,"tag":162,"props":1593,"children":1594},{"emptyLinePlaceholder":285},[1595],{"type":44,"value":288},{"type":38,"tag":162,"props":1597,"children":1599},{"class":164,"line":1598},32,[1600,1604,1609,1613,1617,1621,1625,1630,1634,1639,1643,1647,1652,1656,1660],{"type":38,"tag":162,"props":1601,"children":1602},{"style":295},[1603],{"type":44,"value":1187},{"type":38,"tag":162,"props":1605,"children":1606},{"style":184},[1607],{"type":44,"value":1608}," confirmation",{"type":38,"tag":162,"props":1610,"children":1611},{"style":175},[1612],{"type":44,"value":373},{"type":38,"tag":162,"props":1614,"children":1615},{"style":169},[1616],{"type":44,"value":378},{"type":38,"tag":162,"props":1618,"children":1619},{"style":184},[1620],{"type":44,"value":383},{"type":38,"tag":162,"props":1622,"children":1623},{"style":175},[1624],{"type":44,"value":388},{"type":38,"tag":162,"props":1626,"children":1627},{"style":316},[1628],{"type":44,"value":1629},"confirmTransaction",{"type":38,"tag":162,"props":1631,"children":1632},{"style":596},[1633],{"type":44,"value":324},{"type":38,"tag":162,"props":1635,"children":1636},{"style":184},[1637],{"type":44,"value":1638},"signature",{"type":38,"tag":162,"props":1640,"children":1641},{"style":175},[1642],{"type":44,"value":836},{"type":38,"tag":162,"props":1644,"children":1645},{"style":175},[1646],{"type":44,"value":263},{"type":38,"tag":162,"props":1648,"children":1649},{"style":266},[1650],{"type":44,"value":1651},"confirmed",{"type":38,"tag":162,"props":1653,"children":1654},{"style":175},[1655],{"type":44,"value":273},{"type":38,"tag":162,"props":1657,"children":1658},{"style":596},[1659],{"type":44,"value":342},{"type":38,"tag":162,"props":1661,"children":1662},{"style":175},[1663],{"type":44,"value":278},{"type":38,"tag":162,"props":1665,"children":1667},{"class":164,"line":1666},33,[1668,1672,1676,1680,1684,1688,1693,1697,1701,1705,1709],{"type":38,"tag":162,"props":1669,"children":1670},{"style":184},[1671],{"type":44,"value":1545},{"type":38,"tag":162,"props":1673,"children":1674},{"style":175},[1675],{"type":44,"value":388},{"type":38,"tag":162,"props":1677,"children":1678},{"style":316},[1679],{"type":44,"value":1554},{"type":38,"tag":162,"props":1681,"children":1682},{"style":596},[1683],{"type":44,"value":324},{"type":38,"tag":162,"props":1685,"children":1686},{"style":175},[1687],{"type":44,"value":273},{"type":38,"tag":162,"props":1689,"children":1690},{"style":266},[1691],{"type":44,"value":1692},"Transaction confirmed:",{"type":38,"tag":162,"props":1694,"children":1695},{"style":175},[1696],{"type":44,"value":273},{"type":38,"tag":162,"props":1698,"children":1699},{"style":175},[1700],{"type":44,"value":836},{"type":38,"tag":162,"props":1702,"children":1703},{"style":184},[1704],{"type":44,"value":1608},{"type":38,"tag":162,"props":1706,"children":1707},{"style":596},[1708],{"type":44,"value":342},{"type":38,"tag":162,"props":1710,"children":1711},{"style":175},[1712],{"type":44,"value":278},{"type":38,"tag":162,"props":1714,"children":1716},{"class":164,"line":1715},34,[1717,1722,1727,1731,1737,1741,1747,1751],{"type":38,"tag":162,"props":1718,"children":1719},{"style":175},[1720],{"type":44,"value":1721},"    }",{"type":38,"tag":162,"props":1723,"children":1724},{"style":169},[1725],{"type":44,"value":1726}," catch",{"type":38,"tag":162,"props":1728,"children":1729},{"style":175},[1730],{"type":44,"value":1122},{"type":38,"tag":162,"props":1732,"children":1734},{"style":1733},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1735],{"type":44,"value":1736},"err",{"type":38,"tag":162,"props":1738,"children":1739},{"style":175},[1740],{"type":44,"value":604},{"type":38,"tag":162,"props":1742,"children":1744},{"style":1743},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1745],{"type":44,"value":1746}," any",{"type":38,"tag":162,"props":1748,"children":1749},{"style":175},[1750],{"type":44,"value":342},{"type":38,"tag":162,"props":1752,"children":1753},{"style":175},[1754],{"type":44,"value":178},{"type":38,"tag":162,"props":1756,"children":1758},{"class":164,"line":1757},35,[1759,1764,1768,1772,1776,1780,1785,1790,1794],{"type":38,"tag":162,"props":1760,"children":1761},{"style":169},[1762],{"type":44,"value":1763},"      if",{"type":38,"tag":162,"props":1765,"children":1766},{"style":596},[1767],{"type":44,"value":1122},{"type":38,"tag":162,"props":1769,"children":1770},{"style":184},[1771],{"type":44,"value":1736},{"type":38,"tag":162,"props":1773,"children":1774},{"style":175},[1775],{"type":44,"value":388},{"type":38,"tag":162,"props":1777,"children":1778},{"style":184},[1779],{"type":44,"value":75},{"type":38,"tag":162,"props":1781,"children":1782},{"style":175},[1783],{"type":44,"value":1784}," ===",{"type":38,"tag":162,"props":1786,"children":1787},{"style":651},[1788],{"type":44,"value":1789}," 4001",{"type":38,"tag":162,"props":1791,"children":1792},{"style":596},[1793],{"type":44,"value":1151},{"type":38,"tag":162,"props":1795,"children":1796},{"style":175},[1797],{"type":44,"value":589},{"type":38,"tag":162,"props":1799,"children":1801},{"class":164,"line":1800},36,[1802,1807,1811,1815,1819,1823,1828,1832,1836],{"type":38,"tag":162,"props":1803,"children":1804},{"style":184},[1805],{"type":44,"value":1806},"        console",{"type":38,"tag":162,"props":1808,"children":1809},{"style":175},[1810],{"type":44,"value":388},{"type":38,"tag":162,"props":1812,"children":1813},{"style":316},[1814],{"type":44,"value":1554},{"type":38,"tag":162,"props":1816,"children":1817},{"style":596},[1818],{"type":44,"value":324},{"type":38,"tag":162,"props":1820,"children":1821},{"style":175},[1822],{"type":44,"value":273},{"type":38,"tag":162,"props":1824,"children":1825},{"style":266},[1826],{"type":44,"value":1827},"User rejected the transaction",{"type":38,"tag":162,"props":1829,"children":1830},{"style":175},[1831],{"type":44,"value":273},{"type":38,"tag":162,"props":1833,"children":1834},{"style":596},[1835],{"type":44,"value":342},{"type":38,"tag":162,"props":1837,"children":1838},{"style":175},[1839],{"type":44,"value":278},{"type":38,"tag":162,"props":1841,"children":1843},{"class":164,"line":1842},37,[1844,1849],{"type":38,"tag":162,"props":1845,"children":1846},{"style":169},[1847],{"type":44,"value":1848},"        return",{"type":38,"tag":162,"props":1850,"children":1851},{"style":175},[1852],{"type":44,"value":278},{"type":38,"tag":162,"props":1854,"children":1856},{"class":164,"line":1855},38,[1857],{"type":38,"tag":162,"props":1858,"children":1859},{"style":175},[1860],{"type":44,"value":1861},"      }\n",{"type":38,"tag":162,"props":1863,"children":1865},{"class":164,"line":1864},39,[1866,1870,1874,1879,1883,1887,1892,1896,1900,1905,1909],{"type":38,"tag":162,"props":1867,"children":1868},{"style":184},[1869],{"type":44,"value":1545},{"type":38,"tag":162,"props":1871,"children":1872},{"style":175},[1873],{"type":44,"value":388},{"type":38,"tag":162,"props":1875,"children":1876},{"style":316},[1877],{"type":44,"value":1878},"error",{"type":38,"tag":162,"props":1880,"children":1881},{"style":596},[1882],{"type":44,"value":324},{"type":38,"tag":162,"props":1884,"children":1885},{"style":175},[1886],{"type":44,"value":273},{"type":38,"tag":162,"props":1888,"children":1889},{"style":266},[1890],{"type":44,"value":1891},"Transaction failed:",{"type":38,"tag":162,"props":1893,"children":1894},{"style":175},[1895],{"type":44,"value":273},{"type":38,"tag":162,"props":1897,"children":1898},{"style":175},[1899],{"type":44,"value":836},{"type":38,"tag":162,"props":1901,"children":1902},{"style":184},[1903],{"type":44,"value":1904}," err",{"type":38,"tag":162,"props":1906,"children":1907},{"style":596},[1908],{"type":44,"value":342},{"type":38,"tag":162,"props":1910,"children":1911},{"style":175},[1912],{"type":44,"value":278},{"type":38,"tag":162,"props":1914,"children":1916},{"class":164,"line":1915},40,[1917],{"type":38,"tag":162,"props":1918,"children":1919},{"style":175},[1920],{"type":44,"value":1921},"    }\n",{"type":38,"tag":162,"props":1923,"children":1925},{"class":164,"line":1924},41,[1926],{"type":38,"tag":162,"props":1927,"children":1928},{"style":175},[1929],{"type":44,"value":1930},"  };\n",{"type":38,"tag":162,"props":1932,"children":1934},{"class":164,"line":1933},42,[1935],{"type":38,"tag":162,"props":1936,"children":1937},{"emptyLinePlaceholder":285},[1938],{"type":44,"value":288},{"type":38,"tag":162,"props":1940,"children":1942},{"class":164,"line":1941},43,[1943,1948],{"type":38,"tag":162,"props":1944,"children":1945},{"style":169},[1946],{"type":44,"value":1947},"  return",{"type":38,"tag":162,"props":1949,"children":1950},{"style":596},[1951],{"type":44,"value":1952}," (\n",{"type":38,"tag":162,"props":1954,"children":1956},{"class":164,"line":1955},44,[1957,1962,1967,1972,1977,1982,1987,1992,1997,2002,2007,2011,2015],{"type":38,"tag":162,"props":1958,"children":1959},{"style":175},[1960],{"type":44,"value":1961},"    \u003C",{"type":38,"tag":162,"props":1963,"children":1964},{"style":596},[1965],{"type":44,"value":1966},"button",{"type":38,"tag":162,"props":1968,"children":1969},{"style":295},[1970],{"type":44,"value":1971}," onClick",{"type":38,"tag":162,"props":1973,"children":1974},{"style":175},[1975],{"type":44,"value":1976},"={",{"type":38,"tag":162,"props":1978,"children":1979},{"style":184},[1980],{"type":44,"value":1981},"handleSend",{"type":38,"tag":162,"props":1983,"children":1984},{"style":175},[1985],{"type":44,"value":1986},"} ",{"type":38,"tag":162,"props":1988,"children":1989},{"style":295},[1990],{"type":44,"value":1991},"disabled",{"type":38,"tag":162,"props":1993,"children":1994},{"style":175},[1995],{"type":44,"value":1996},"={!",{"type":38,"tag":162,"props":1998,"children":1999},{"style":184},[2000],{"type":44,"value":2001},"connected ",{"type":38,"tag":162,"props":2003,"children":2004},{"style":175},[2005],{"type":44,"value":2006},"||",{"type":38,"tag":162,"props":2008,"children":2009},{"style":175},[2010],{"type":44,"value":1142},{"type":38,"tag":162,"props":2012,"children":2013},{"style":184},[2014],{"type":44,"value":1132},{"type":38,"tag":162,"props":2016,"children":2017},{"style":175},[2018],{"type":44,"value":2019},"}>\n",{"type":38,"tag":162,"props":2021,"children":2023},{"class":164,"line":2022},45,[2024],{"type":38,"tag":162,"props":2025,"children":2026},{"style":184},[2027],{"type":44,"value":2028},"      Send 0.001 SOL\n",{"type":38,"tag":162,"props":2030,"children":2032},{"class":164,"line":2031},46,[2033,2038,2042],{"type":38,"tag":162,"props":2034,"children":2035},{"style":175},[2036],{"type":44,"value":2037},"    \u003C\u002F",{"type":38,"tag":162,"props":2039,"children":2040},{"style":596},[2041],{"type":44,"value":1966},{"type":38,"tag":162,"props":2043,"children":2044},{"style":175},[2045],{"type":44,"value":2046},">\n",{"type":38,"tag":162,"props":2048,"children":2050},{"class":164,"line":2049},47,[2051,2056],{"type":38,"tag":162,"props":2052,"children":2053},{"style":596},[2054],{"type":44,"value":2055},"  )",{"type":38,"tag":162,"props":2057,"children":2058},{"style":175},[2059],{"type":44,"value":278},{"type":38,"tag":162,"props":2061,"children":2063},{"class":164,"line":2062},48,[2064],{"type":38,"tag":162,"props":2065,"children":2066},{"style":175},[2067],{"type":44,"value":2068},"}\n",{"type":38,"tag":132,"props":2070,"children":2072},{"id":2071},"step-2b-send-with-vanilla-browser-wallet-standard-feature",[2073],{"type":44,"value":2074},"Step 2b: Send with vanilla browser (wallet-standard feature)",{"type":38,"tag":54,"props":2076,"children":2077},{},[2078,2082,2083,2088,2090,2096,2098,2104],{"type":38,"tag":768,"props":2079,"children":2080},{},[2081],{"type":44,"value":772},{"type":44,"value":774},{"type":38,"tag":75,"props":2084,"children":2086},{"className":2085},[],[2087],{"type":44,"value":780},{"type":44,"value":2089}," has been called and the wallet is connected via ",{"type":38,"tag":75,"props":2091,"children":2093},{"className":2092},[],[2094],{"type":44,"value":2095},"standard:connect",{"type":44,"value":2097},". See the ",{"type":38,"tag":75,"props":2099,"children":2101},{"className":2100},[],[2102],{"type":44,"value":2103},"setup-solana-browser-app",{"type":44,"value":806},{"type":38,"tag":151,"props":2106,"children":2108},{"className":153,"code":2107,"language":155,"meta":156,"style":156},"import { createSolanaClient } from '@metamask\u002Fconnect-solana';\nimport {\n  Connection,\n  Transaction,\n  SystemProgram,\n  PublicKey,\n  LAMPORTS_PER_SOL,\n} from '@solana\u002Fweb3.js';\n\nconst solanaClient = await createSolanaClient({\n  dapp: { name: 'My DApp', url: window.location.href },\n});\n\nconst wallet = solanaClient.getWallet();\n\n\u002F\u002F Connect first\nconst connectFeature = wallet.features['standard:connect'];\nconst { accounts } = await connectFeature.connect();\nconst account = accounts[0];\nconst senderPubkey = new PublicKey(account.address);\n\n\u002F\u002F Build the transaction\nconst connection = new Connection('https:\u002F\u002Fapi.mainnet-beta.solana.com');\nconst { blockhash } = await connection.getLatestBlockhash();\n\nconst transaction = new Transaction().add(\n  SystemProgram.transfer({\n    fromPubkey: senderPubkey,\n    toPubkey: new PublicKey('RECIPIENT_PUBLIC_KEY'),\n    lamports: 0.001 * LAMPORTS_PER_SOL,\n  }),\n);\ntransaction.recentBlockhash = blockhash;\ntransaction.feePayer = senderPubkey;\n\n\u002F\u002F Serialize and send\nconst serializedTransaction = transaction.serialize({\n  requireAllSignatures: false,\n});\n\nconst signAndSendFeature = wallet.features['solana:signAndSendTransaction'];\n\n\u002F\u002F The `chain` field accepts the wallet-standard short forms ('solana:mainnet',\n\u002F\u002F 'solana:devnet', 'solana:testnet') or the full genesis-hash CAIP-2 scope\n\u002F\u002F (e.g. 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'). It is optional and\n\u002F\u002F defaults to mainnet. Bare 'mainnet' (without the 'solana:' prefix) is\n\u002F\u002F INVALID here and throws 'Unsupported chainId' — the SolanaNetwork short\n\u002F\u002F names apply only to createSolanaClient's api.supportedNetworks keys.\n\n\u002F\u002F Requires `npm install bs58` and `import bs58 from 'bs58'` at the top of the file\ntry {\n  const [{ signature }] = await signAndSendFeature.signAndSendTransaction({\n    account,\n    transaction: serializedTransaction,\n    chain: 'solana:mainnet', \u002F\u002F wallet-standard short form; full genesis-hash CAIP-2 IDs also accepted\n  });\n\n  \u002F\u002F signature is a Uint8Array — encode with bs58 ('base58' is NOT a Buffer encoding)\n  const signatureBase58 = bs58.encode(signature);\n  console.log('Transaction submitted:', signatureBase58);\n\n  \u002F\u002F confirmTransaction expects the base58 signature string\n  const confirmation = await connection.confirmTransaction(signatureBase58, 'confirmed');\n  console.log('Transaction confirmed:', confirmation);\n} catch (err: any) {\n  if (err.code === 4001) {\n    console.log('User rejected the transaction');\n  } else {\n    console.error('Transaction failed:', err);\n  }\n}\n",[2109],{"type":38,"tag":75,"props":2110,"children":2111},{"__ignoreMap":156},[2112,2153,2164,2175,2186,2197,2208,2219,2246,2253,2285,2364,2379,2386,2424,2431,2440,2491,2541,2575,2616,2623,2631,2678,2725,2732,2771,2794,2813,2856,2883,2898,2909,2936,2963,2970,2978,3015,3037,3052,3059,3107,3114,3122,3130,3138,3146,3154,3162,3170,3179,3192,3244,3257,3279,3314,3330,3338,3347,3394,3443,3451,3460,3525,3573,3609,3650,3691,3708,3756,3765],{"type":38,"tag":162,"props":2113,"children":2114},{"class":164,"line":165},[2115,2119,2123,2128,2132,2136,2140,2145,2149],{"type":38,"tag":162,"props":2116,"children":2117},{"style":169},[2118],{"type":44,"value":172},{"type":38,"tag":162,"props":2120,"children":2121},{"style":175},[2122],{"type":44,"value":359},{"type":38,"tag":162,"props":2124,"children":2125},{"style":184},[2126],{"type":44,"value":2127}," createSolanaClient",{"type":38,"tag":162,"props":2129,"children":2130},{"style":175},[2131],{"type":44,"value":846},{"type":38,"tag":162,"props":2133,"children":2134},{"style":169},[2135],{"type":44,"value":258},{"type":38,"tag":162,"props":2137,"children":2138},{"style":175},[2139],{"type":44,"value":263},{"type":38,"tag":162,"props":2141,"children":2142},{"style":266},[2143],{"type":44,"value":2144},"@metamask\u002Fconnect-solana",{"type":38,"tag":162,"props":2146,"children":2147},{"style":175},[2148],{"type":44,"value":273},{"type":38,"tag":162,"props":2150,"children":2151},{"style":175},[2152],{"type":44,"value":278},{"type":38,"tag":162,"props":2154,"children":2155},{"class":164,"line":22},[2156,2160],{"type":38,"tag":162,"props":2157,"children":2158},{"style":169},[2159],{"type":44,"value":172},{"type":38,"tag":162,"props":2161,"children":2162},{"style":175},[2163],{"type":44,"value":178},{"type":38,"tag":162,"props":2165,"children":2166},{"class":164,"line":195},[2167,2171],{"type":38,"tag":162,"props":2168,"children":2169},{"style":184},[2170],{"type":44,"value":187},{"type":38,"tag":162,"props":2172,"children":2173},{"style":175},[2174],{"type":44,"value":192},{"type":38,"tag":162,"props":2176,"children":2177},{"class":164,"line":208},[2178,2182],{"type":38,"tag":162,"props":2179,"children":2180},{"style":184},[2181],{"type":44,"value":201},{"type":38,"tag":162,"props":2183,"children":2184},{"style":175},[2185],{"type":44,"value":192},{"type":38,"tag":162,"props":2187,"children":2188},{"class":164,"line":221},[2189,2193],{"type":38,"tag":162,"props":2190,"children":2191},{"style":184},[2192],{"type":44,"value":214},{"type":38,"tag":162,"props":2194,"children":2195},{"style":175},[2196],{"type":44,"value":192},{"type":38,"tag":162,"props":2198,"children":2199},{"class":164,"line":234},[2200,2204],{"type":38,"tag":162,"props":2201,"children":2202},{"style":184},[2203],{"type":44,"value":227},{"type":38,"tag":162,"props":2205,"children":2206},{"style":175},[2207],{"type":44,"value":192},{"type":38,"tag":162,"props":2209,"children":2210},{"class":164,"line":247},[2211,2215],{"type":38,"tag":162,"props":2212,"children":2213},{"style":184},[2214],{"type":44,"value":240},{"type":38,"tag":162,"props":2216,"children":2217},{"style":175},[2218],{"type":44,"value":192},{"type":38,"tag":162,"props":2220,"children":2221},{"class":164,"line":281},[2222,2226,2230,2234,2238,2242],{"type":38,"tag":162,"props":2223,"children":2224},{"style":175},[2225],{"type":44,"value":253},{"type":38,"tag":162,"props":2227,"children":2228},{"style":169},[2229],{"type":44,"value":258},{"type":38,"tag":162,"props":2231,"children":2232},{"style":175},[2233],{"type":44,"value":263},{"type":38,"tag":162,"props":2235,"children":2236},{"style":266},[2237],{"type":44,"value":88},{"type":38,"tag":162,"props":2239,"children":2240},{"style":175},[2241],{"type":44,"value":273},{"type":38,"tag":162,"props":2243,"children":2244},{"style":175},[2245],{"type":44,"value":278},{"type":38,"tag":162,"props":2247,"children":2248},{"class":164,"line":291},[2249],{"type":38,"tag":162,"props":2250,"children":2251},{"emptyLinePlaceholder":285},[2252],{"type":44,"value":288},{"type":38,"tag":162,"props":2254,"children":2255},{"class":164,"line":349},[2256,2260,2265,2269,2273,2277,2281],{"type":38,"tag":162,"props":2257,"children":2258},{"style":295},[2259],{"type":44,"value":298},{"type":38,"tag":162,"props":2261,"children":2262},{"style":184},[2263],{"type":44,"value":2264}," solanaClient ",{"type":38,"tag":162,"props":2266,"children":2267},{"style":175},[2268],{"type":44,"value":308},{"type":38,"tag":162,"props":2270,"children":2271},{"style":169},[2272],{"type":44,"value":378},{"type":38,"tag":162,"props":2274,"children":2275},{"style":316},[2276],{"type":44,"value":2127},{"type":38,"tag":162,"props":2278,"children":2279},{"style":184},[2280],{"type":44,"value":324},{"type":38,"tag":162,"props":2282,"children":2283},{"style":175},[2284],{"type":44,"value":589},{"type":38,"tag":162,"props":2286,"children":2287},{"class":164,"line":405},[2288,2293,2297,2301,2306,2310,2314,2319,2323,2327,2332,2336,2341,2345,2350,2354,2359],{"type":38,"tag":162,"props":2289,"children":2290},{"style":596},[2291],{"type":44,"value":2292},"  dapp",{"type":38,"tag":162,"props":2294,"children":2295},{"style":175},[2296],{"type":44,"value":604},{"type":38,"tag":162,"props":2298,"children":2299},{"style":175},[2300],{"type":44,"value":359},{"type":38,"tag":162,"props":2302,"children":2303},{"style":596},[2304],{"type":44,"value":2305}," name",{"type":38,"tag":162,"props":2307,"children":2308},{"style":175},[2309],{"type":44,"value":604},{"type":38,"tag":162,"props":2311,"children":2312},{"style":175},[2313],{"type":44,"value":263},{"type":38,"tag":162,"props":2315,"children":2316},{"style":266},[2317],{"type":44,"value":2318},"My DApp",{"type":38,"tag":162,"props":2320,"children":2321},{"style":175},[2322],{"type":44,"value":273},{"type":38,"tag":162,"props":2324,"children":2325},{"style":175},[2326],{"type":44,"value":836},{"type":38,"tag":162,"props":2328,"children":2329},{"style":596},[2330],{"type":44,"value":2331}," url",{"type":38,"tag":162,"props":2333,"children":2334},{"style":175},[2335],{"type":44,"value":604},{"type":38,"tag":162,"props":2337,"children":2338},{"style":184},[2339],{"type":44,"value":2340}," window",{"type":38,"tag":162,"props":2342,"children":2343},{"style":175},[2344],{"type":44,"value":388},{"type":38,"tag":162,"props":2346,"children":2347},{"style":184},[2348],{"type":44,"value":2349},"location",{"type":38,"tag":162,"props":2351,"children":2352},{"style":175},[2353],{"type":44,"value":388},{"type":38,"tag":162,"props":2355,"children":2356},{"style":184},[2357],{"type":44,"value":2358},"href ",{"type":38,"tag":162,"props":2360,"children":2361},{"style":175},[2362],{"type":44,"value":2363},"},\n",{"type":38,"tag":162,"props":2365,"children":2366},{"class":164,"line":413},[2367,2371,2375],{"type":38,"tag":162,"props":2368,"children":2369},{"style":175},[2370],{"type":44,"value":253},{"type":38,"tag":162,"props":2372,"children":2373},{"style":184},[2374],{"type":44,"value":342},{"type":38,"tag":162,"props":2376,"children":2377},{"style":175},[2378],{"type":44,"value":278},{"type":38,"tag":162,"props":2380,"children":2381},{"class":164,"line":464},[2382],{"type":38,"tag":162,"props":2383,"children":2384},{"emptyLinePlaceholder":285},[2385],{"type":44,"value":288},{"type":38,"tag":162,"props":2387,"children":2388},{"class":164,"line":514},[2389,2393,2398,2402,2407,2411,2416,2420],{"type":38,"tag":162,"props":2390,"children":2391},{"style":295},[2392],{"type":44,"value":298},{"type":38,"tag":162,"props":2394,"children":2395},{"style":184},[2396],{"type":44,"value":2397}," wallet ",{"type":38,"tag":162,"props":2399,"children":2400},{"style":175},[2401],{"type":44,"value":308},{"type":38,"tag":162,"props":2403,"children":2404},{"style":184},[2405],{"type":44,"value":2406}," solanaClient",{"type":38,"tag":162,"props":2408,"children":2409},{"style":175},[2410],{"type":44,"value":388},{"type":38,"tag":162,"props":2412,"children":2413},{"style":316},[2414],{"type":44,"value":2415},"getWallet",{"type":38,"tag":162,"props":2417,"children":2418},{"style":184},[2419],{"type":44,"value":398},{"type":38,"tag":162,"props":2421,"children":2422},{"style":175},[2423],{"type":44,"value":278},{"type":38,"tag":162,"props":2425,"children":2426},{"class":164,"line":522},[2427],{"type":38,"tag":162,"props":2428,"children":2429},{"emptyLinePlaceholder":285},[2430],{"type":44,"value":288},{"type":38,"tag":162,"props":2432,"children":2433},{"class":164,"line":566},[2434],{"type":38,"tag":162,"props":2435,"children":2437},{"style":2436},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[2438],{"type":44,"value":2439},"\u002F\u002F Connect first\n",{"type":38,"tag":162,"props":2441,"children":2442},{"class":164,"line":592},[2443,2447,2452,2456,2461,2465,2470,2474,2478,2482,2487],{"type":38,"tag":162,"props":2444,"children":2445},{"style":295},[2446],{"type":44,"value":298},{"type":38,"tag":162,"props":2448,"children":2449},{"style":184},[2450],{"type":44,"value":2451}," connectFeature ",{"type":38,"tag":162,"props":2453,"children":2454},{"style":175},[2455],{"type":44,"value":308},{"type":38,"tag":162,"props":2457,"children":2458},{"style":184},[2459],{"type":44,"value":2460}," wallet",{"type":38,"tag":162,"props":2462,"children":2463},{"style":175},[2464],{"type":44,"value":388},{"type":38,"tag":162,"props":2466,"children":2467},{"style":184},[2468],{"type":44,"value":2469},"features[",{"type":38,"tag":162,"props":2471,"children":2472},{"style":175},[2473],{"type":44,"value":273},{"type":38,"tag":162,"props":2475,"children":2476},{"style":266},[2477],{"type":44,"value":2095},{"type":38,"tag":162,"props":2479,"children":2480},{"style":175},[2481],{"type":44,"value":273},{"type":38,"tag":162,"props":2483,"children":2484},{"style":184},[2485],{"type":44,"value":2486},"]",{"type":38,"tag":162,"props":2488,"children":2489},{"style":175},[2490],{"type":44,"value":278},{"type":38,"tag":162,"props":2492,"children":2493},{"class":164,"line":616},[2494,2498,2502,2507,2511,2515,2519,2524,2528,2533,2537],{"type":38,"tag":162,"props":2495,"children":2496},{"style":295},[2497],{"type":44,"value":298},{"type":38,"tag":162,"props":2499,"children":2500},{"style":175},[2501],{"type":44,"value":359},{"type":38,"tag":162,"props":2503,"children":2504},{"style":184},[2505],{"type":44,"value":2506}," accounts ",{"type":38,"tag":162,"props":2508,"children":2509},{"style":175},[2510],{"type":44,"value":253},{"type":38,"tag":162,"props":2512,"children":2513},{"style":175},[2514],{"type":44,"value":373},{"type":38,"tag":162,"props":2516,"children":2517},{"style":169},[2518],{"type":44,"value":378},{"type":38,"tag":162,"props":2520,"children":2521},{"style":184},[2522],{"type":44,"value":2523}," connectFeature",{"type":38,"tag":162,"props":2525,"children":2526},{"style":175},[2527],{"type":44,"value":388},{"type":38,"tag":162,"props":2529,"children":2530},{"style":316},[2531],{"type":44,"value":2532},"connect",{"type":38,"tag":162,"props":2534,"children":2535},{"style":184},[2536],{"type":44,"value":398},{"type":38,"tag":162,"props":2538,"children":2539},{"style":175},[2540],{"type":44,"value":278},{"type":38,"tag":162,"props":2542,"children":2543},{"class":164,"line":638},[2544,2548,2553,2557,2562,2567,2571],{"type":38,"tag":162,"props":2545,"children":2546},{"style":295},[2547],{"type":44,"value":298},{"type":38,"tag":162,"props":2549,"children":2550},{"style":184},[2551],{"type":44,"value":2552}," account ",{"type":38,"tag":162,"props":2554,"children":2555},{"style":175},[2556],{"type":44,"value":308},{"type":38,"tag":162,"props":2558,"children":2559},{"style":184},[2560],{"type":44,"value":2561}," accounts[",{"type":38,"tag":162,"props":2563,"children":2564},{"style":651},[2565],{"type":44,"value":2566},"0",{"type":38,"tag":162,"props":2568,"children":2569},{"style":184},[2570],{"type":44,"value":2486},{"type":38,"tag":162,"props":2572,"children":2573},{"style":175},[2574],{"type":44,"value":278},{"type":38,"tag":162,"props":2576,"children":2577},{"class":164,"line":671},[2578,2582,2586,2590,2594,2598,2603,2607,2612],{"type":38,"tag":162,"props":2579,"children":2580},{"style":295},[2581],{"type":44,"value":298},{"type":38,"tag":162,"props":2583,"children":2584},{"style":184},[2585],{"type":44,"value":423},{"type":38,"tag":162,"props":2587,"children":2588},{"style":175},[2589],{"type":44,"value":308},{"type":38,"tag":162,"props":2591,"children":2592},{"style":175},[2593],{"type":44,"value":313},{"type":38,"tag":162,"props":2595,"children":2596},{"style":316},[2597],{"type":44,"value":436},{"type":38,"tag":162,"props":2599,"children":2600},{"style":184},[2601],{"type":44,"value":2602},"(account",{"type":38,"tag":162,"props":2604,"children":2605},{"style":175},[2606],{"type":44,"value":388},{"type":38,"tag":162,"props":2608,"children":2609},{"style":184},[2610],{"type":44,"value":2611},"address)",{"type":38,"tag":162,"props":2613,"children":2614},{"style":175},[2615],{"type":44,"value":278},{"type":38,"tag":162,"props":2617,"children":2618},{"class":164,"line":688},[2619],{"type":38,"tag":162,"props":2620,"children":2621},{"emptyLinePlaceholder":285},[2622],{"type":44,"value":288},{"type":38,"tag":162,"props":2624,"children":2625},{"class":164,"line":700},[2626],{"type":38,"tag":162,"props":2627,"children":2628},{"style":2436},[2629],{"type":44,"value":2630},"\u002F\u002F Build the transaction\n",{"type":38,"tag":162,"props":2632,"children":2633},{"class":164,"line":731},[2634,2638,2642,2646,2650,2654,2658,2662,2666,2670,2674],{"type":38,"tag":162,"props":2635,"children":2636},{"style":295},[2637],{"type":44,"value":298},{"type":38,"tag":162,"props":2639,"children":2640},{"style":184},[2641],{"type":44,"value":303},{"type":38,"tag":162,"props":2643,"children":2644},{"style":175},[2645],{"type":44,"value":308},{"type":38,"tag":162,"props":2647,"children":2648},{"style":175},[2649],{"type":44,"value":313},{"type":38,"tag":162,"props":2651,"children":2652},{"style":316},[2653],{"type":44,"value":319},{"type":38,"tag":162,"props":2655,"children":2656},{"style":184},[2657],{"type":44,"value":324},{"type":38,"tag":162,"props":2659,"children":2660},{"style":175},[2661],{"type":44,"value":273},{"type":38,"tag":162,"props":2663,"children":2664},{"style":266},[2665],{"type":44,"value":333},{"type":38,"tag":162,"props":2667,"children":2668},{"style":175},[2669],{"type":44,"value":273},{"type":38,"tag":162,"props":2671,"children":2672},{"style":184},[2673],{"type":44,"value":342},{"type":38,"tag":162,"props":2675,"children":2676},{"style":175},[2677],{"type":44,"value":278},{"type":38,"tag":162,"props":2679,"children":2680},{"class":164,"line":1393},[2681,2685,2689,2693,2697,2701,2705,2709,2713,2717,2721],{"type":38,"tag":162,"props":2682,"children":2683},{"style":295},[2684],{"type":44,"value":298},{"type":38,"tag":162,"props":2686,"children":2687},{"style":175},[2688],{"type":44,"value":359},{"type":38,"tag":162,"props":2690,"children":2691},{"style":184},[2692],{"type":44,"value":364},{"type":38,"tag":162,"props":2694,"children":2695},{"style":175},[2696],{"type":44,"value":253},{"type":38,"tag":162,"props":2698,"children":2699},{"style":175},[2700],{"type":44,"value":373},{"type":38,"tag":162,"props":2702,"children":2703},{"style":169},[2704],{"type":44,"value":378},{"type":38,"tag":162,"props":2706,"children":2707},{"style":184},[2708],{"type":44,"value":383},{"type":38,"tag":162,"props":2710,"children":2711},{"style":175},[2712],{"type":44,"value":388},{"type":38,"tag":162,"props":2714,"children":2715},{"style":316},[2716],{"type":44,"value":393},{"type":38,"tag":162,"props":2718,"children":2719},{"style":184},[2720],{"type":44,"value":398},{"type":38,"tag":162,"props":2722,"children":2723},{"style":175},[2724],{"type":44,"value":278},{"type":38,"tag":162,"props":2726,"children":2727},{"class":164,"line":1410},[2728],{"type":38,"tag":162,"props":2729,"children":2730},{"emptyLinePlaceholder":285},[2731],{"type":44,"value":288},{"type":38,"tag":162,"props":2733,"children":2734},{"class":164,"line":1423},[2735,2739,2743,2747,2751,2755,2759,2763,2767],{"type":38,"tag":162,"props":2736,"children":2737},{"style":295},[2738],{"type":44,"value":298},{"type":38,"tag":162,"props":2740,"children":2741},{"style":184},[2742],{"type":44,"value":532},{"type":38,"tag":162,"props":2744,"children":2745},{"style":175},[2746],{"type":44,"value":308},{"type":38,"tag":162,"props":2748,"children":2749},{"style":175},[2750],{"type":44,"value":313},{"type":38,"tag":162,"props":2752,"children":2753},{"style":316},[2754],{"type":44,"value":545},{"type":38,"tag":162,"props":2756,"children":2757},{"style":184},[2758],{"type":44,"value":398},{"type":38,"tag":162,"props":2760,"children":2761},{"style":175},[2762],{"type":44,"value":388},{"type":38,"tag":162,"props":2764,"children":2765},{"style":316},[2766],{"type":44,"value":558},{"type":38,"tag":162,"props":2768,"children":2769},{"style":184},[2770],{"type":44,"value":563},{"type":38,"tag":162,"props":2772,"children":2773},{"class":164,"line":1453},[2774,2778,2782,2786,2790],{"type":38,"tag":162,"props":2775,"children":2776},{"style":184},[2777],{"type":44,"value":214},{"type":38,"tag":162,"props":2779,"children":2780},{"style":175},[2781],{"type":44,"value":388},{"type":38,"tag":162,"props":2783,"children":2784},{"style":316},[2785],{"type":44,"value":580},{"type":38,"tag":162,"props":2787,"children":2788},{"style":184},[2789],{"type":44,"value":324},{"type":38,"tag":162,"props":2791,"children":2792},{"style":175},[2793],{"type":44,"value":589},{"type":38,"tag":162,"props":2795,"children":2796},{"class":164,"line":1482},[2797,2801,2805,2809],{"type":38,"tag":162,"props":2798,"children":2799},{"style":596},[2800],{"type":44,"value":599},{"type":38,"tag":162,"props":2802,"children":2803},{"style":175},[2804],{"type":44,"value":604},{"type":38,"tag":162,"props":2806,"children":2807},{"style":184},[2808],{"type":44,"value":609},{"type":38,"tag":162,"props":2810,"children":2811},{"style":175},[2812],{"type":44,"value":192},{"type":38,"tag":162,"props":2814,"children":2815},{"class":164,"line":1490},[2816,2820,2824,2828,2832,2836,2840,2844,2848,2852],{"type":38,"tag":162,"props":2817,"children":2818},{"style":596},[2819],{"type":44,"value":622},{"type":38,"tag":162,"props":2821,"children":2822},{"style":175},[2823],{"type":44,"value":604},{"type":38,"tag":162,"props":2825,"children":2826},{"style":175},[2827],{"type":44,"value":313},{"type":38,"tag":162,"props":2829,"children":2830},{"style":316},[2831],{"type":44,"value":436},{"type":38,"tag":162,"props":2833,"children":2834},{"style":184},[2835],{"type":44,"value":324},{"type":38,"tag":162,"props":2837,"children":2838},{"style":175},[2839],{"type":44,"value":273},{"type":38,"tag":162,"props":2841,"children":2842},{"style":266},[2843],{"type":44,"value":499},{"type":38,"tag":162,"props":2845,"children":2846},{"style":175},[2847],{"type":44,"value":273},{"type":38,"tag":162,"props":2849,"children":2850},{"style":184},[2851],{"type":44,"value":342},{"type":38,"tag":162,"props":2853,"children":2854},{"style":175},[2855],{"type":44,"value":192},{"type":38,"tag":162,"props":2857,"children":2858},{"class":164,"line":1539},[2859,2863,2867,2871,2875,2879],{"type":38,"tag":162,"props":2860,"children":2861},{"style":596},[2862],{"type":44,"value":644},{"type":38,"tag":162,"props":2864,"children":2865},{"style":175},[2866],{"type":44,"value":604},{"type":38,"tag":162,"props":2868,"children":2869},{"style":651},[2870],{"type":44,"value":654},{"type":38,"tag":162,"props":2872,"children":2873},{"style":175},[2874],{"type":44,"value":659},{"type":38,"tag":162,"props":2876,"children":2877},{"style":184},[2878],{"type":44,"value":664},{"type":38,"tag":162,"props":2880,"children":2881},{"style":175},[2882],{"type":44,"value":192},{"type":38,"tag":162,"props":2884,"children":2885},{"class":164,"line":1590},[2886,2890,2894],{"type":38,"tag":162,"props":2887,"children":2888},{"style":175},[2889],{"type":44,"value":677},{"type":38,"tag":162,"props":2891,"children":2892},{"style":184},[2893],{"type":44,"value":342},{"type":38,"tag":162,"props":2895,"children":2896},{"style":175},[2897],{"type":44,"value":192},{"type":38,"tag":162,"props":2899,"children":2900},{"class":164,"line":1598},[2901,2905],{"type":38,"tag":162,"props":2902,"children":2903},{"style":184},[2904],{"type":44,"value":342},{"type":38,"tag":162,"props":2906,"children":2907},{"style":175},[2908],{"type":44,"value":278},{"type":38,"tag":162,"props":2910,"children":2911},{"class":164,"line":1666},[2912,2916,2920,2924,2928,2932],{"type":38,"tag":162,"props":2913,"children":2914},{"style":184},[2915],{"type":44,"value":706},{"type":38,"tag":162,"props":2917,"children":2918},{"style":175},[2919],{"type":44,"value":388},{"type":38,"tag":162,"props":2921,"children":2922},{"style":184},[2923],{"type":44,"value":715},{"type":38,"tag":162,"props":2925,"children":2926},{"style":175},[2927],{"type":44,"value":308},{"type":38,"tag":162,"props":2929,"children":2930},{"style":184},[2931],{"type":44,"value":724},{"type":38,"tag":162,"props":2933,"children":2934},{"style":175},[2935],{"type":44,"value":278},{"type":38,"tag":162,"props":2937,"children":2938},{"class":164,"line":1715},[2939,2943,2947,2951,2955,2959],{"type":38,"tag":162,"props":2940,"children":2941},{"style":184},[2942],{"type":44,"value":706},{"type":38,"tag":162,"props":2944,"children":2945},{"style":175},[2946],{"type":44,"value":388},{"type":38,"tag":162,"props":2948,"children":2949},{"style":184},[2950],{"type":44,"value":745},{"type":38,"tag":162,"props":2952,"children":2953},{"style":175},[2954],{"type":44,"value":308},{"type":38,"tag":162,"props":2956,"children":2957},{"style":184},[2958],{"type":44,"value":609},{"type":38,"tag":162,"props":2960,"children":2961},{"style":175},[2962],{"type":44,"value":278},{"type":38,"tag":162,"props":2964,"children":2965},{"class":164,"line":1757},[2966],{"type":38,"tag":162,"props":2967,"children":2968},{"emptyLinePlaceholder":285},[2969],{"type":44,"value":288},{"type":38,"tag":162,"props":2971,"children":2972},{"class":164,"line":1800},[2973],{"type":38,"tag":162,"props":2974,"children":2975},{"style":2436},[2976],{"type":44,"value":2977},"\u002F\u002F Serialize and send\n",{"type":38,"tag":162,"props":2979,"children":2980},{"class":164,"line":1842},[2981,2985,2990,2994,2998,3002,3007,3011],{"type":38,"tag":162,"props":2982,"children":2983},{"style":295},[2984],{"type":44,"value":298},{"type":38,"tag":162,"props":2986,"children":2987},{"style":184},[2988],{"type":44,"value":2989}," serializedTransaction ",{"type":38,"tag":162,"props":2991,"children":2992},{"style":175},[2993],{"type":44,"value":308},{"type":38,"tag":162,"props":2995,"children":2996},{"style":184},[2997],{"type":44,"value":1246},{"type":38,"tag":162,"props":2999,"children":3000},{"style":175},[3001],{"type":44,"value":388},{"type":38,"tag":162,"props":3003,"children":3004},{"style":316},[3005],{"type":44,"value":3006},"serialize",{"type":38,"tag":162,"props":3008,"children":3009},{"style":184},[3010],{"type":44,"value":324},{"type":38,"tag":162,"props":3012,"children":3013},{"style":175},[3014],{"type":44,"value":589},{"type":38,"tag":162,"props":3016,"children":3017},{"class":164,"line":1855},[3018,3023,3027,3033],{"type":38,"tag":162,"props":3019,"children":3020},{"style":596},[3021],{"type":44,"value":3022},"  requireAllSignatures",{"type":38,"tag":162,"props":3024,"children":3025},{"style":175},[3026],{"type":44,"value":604},{"type":38,"tag":162,"props":3028,"children":3030},{"style":3029},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[3031],{"type":44,"value":3032}," false",{"type":38,"tag":162,"props":3034,"children":3035},{"style":175},[3036],{"type":44,"value":192},{"type":38,"tag":162,"props":3038,"children":3039},{"class":164,"line":1864},[3040,3044,3048],{"type":38,"tag":162,"props":3041,"children":3042},{"style":175},[3043],{"type":44,"value":253},{"type":38,"tag":162,"props":3045,"children":3046},{"style":184},[3047],{"type":44,"value":342},{"type":38,"tag":162,"props":3049,"children":3050},{"style":175},[3051],{"type":44,"value":278},{"type":38,"tag":162,"props":3053,"children":3054},{"class":164,"line":1915},[3055],{"type":38,"tag":162,"props":3056,"children":3057},{"emptyLinePlaceholder":285},[3058],{"type":44,"value":288},{"type":38,"tag":162,"props":3060,"children":3061},{"class":164,"line":1924},[3062,3066,3071,3075,3079,3083,3087,3091,3095,3099,3103],{"type":38,"tag":162,"props":3063,"children":3064},{"style":295},[3065],{"type":44,"value":298},{"type":38,"tag":162,"props":3067,"children":3068},{"style":184},[3069],{"type":44,"value":3070}," signAndSendFeature ",{"type":38,"tag":162,"props":3072,"children":3073},{"style":175},[3074],{"type":44,"value":308},{"type":38,"tag":162,"props":3076,"children":3077},{"style":184},[3078],{"type":44,"value":2460},{"type":38,"tag":162,"props":3080,"children":3081},{"style":175},[3082],{"type":44,"value":388},{"type":38,"tag":162,"props":3084,"children":3085},{"style":184},[3086],{"type":44,"value":2469},{"type":38,"tag":162,"props":3088,"children":3089},{"style":175},[3090],{"type":44,"value":273},{"type":38,"tag":162,"props":3092,"children":3093},{"style":266},[3094],{"type":44,"value":122},{"type":38,"tag":162,"props":3096,"children":3097},{"style":175},[3098],{"type":44,"value":273},{"type":38,"tag":162,"props":3100,"children":3101},{"style":184},[3102],{"type":44,"value":2486},{"type":38,"tag":162,"props":3104,"children":3105},{"style":175},[3106],{"type":44,"value":278},{"type":38,"tag":162,"props":3108,"children":3109},{"class":164,"line":1933},[3110],{"type":38,"tag":162,"props":3111,"children":3112},{"emptyLinePlaceholder":285},[3113],{"type":44,"value":288},{"type":38,"tag":162,"props":3115,"children":3116},{"class":164,"line":1941},[3117],{"type":38,"tag":162,"props":3118,"children":3119},{"style":2436},[3120],{"type":44,"value":3121},"\u002F\u002F The `chain` field accepts the wallet-standard short forms ('solana:mainnet',\n",{"type":38,"tag":162,"props":3123,"children":3124},{"class":164,"line":1955},[3125],{"type":38,"tag":162,"props":3126,"children":3127},{"style":2436},[3128],{"type":44,"value":3129},"\u002F\u002F 'solana:devnet', 'solana:testnet') or the full genesis-hash CAIP-2 scope\n",{"type":38,"tag":162,"props":3131,"children":3132},{"class":164,"line":2022},[3133],{"type":38,"tag":162,"props":3134,"children":3135},{"style":2436},[3136],{"type":44,"value":3137},"\u002F\u002F (e.g. 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp'). It is optional and\n",{"type":38,"tag":162,"props":3139,"children":3140},{"class":164,"line":2031},[3141],{"type":38,"tag":162,"props":3142,"children":3143},{"style":2436},[3144],{"type":44,"value":3145},"\u002F\u002F defaults to mainnet. Bare 'mainnet' (without the 'solana:' prefix) is\n",{"type":38,"tag":162,"props":3147,"children":3148},{"class":164,"line":2049},[3149],{"type":38,"tag":162,"props":3150,"children":3151},{"style":2436},[3152],{"type":44,"value":3153},"\u002F\u002F INVALID here and throws 'Unsupported chainId' — the SolanaNetwork short\n",{"type":38,"tag":162,"props":3155,"children":3156},{"class":164,"line":2062},[3157],{"type":38,"tag":162,"props":3158,"children":3159},{"style":2436},[3160],{"type":44,"value":3161},"\u002F\u002F names apply only to createSolanaClient's api.supportedNetworks keys.\n",{"type":38,"tag":162,"props":3163,"children":3165},{"class":164,"line":3164},49,[3166],{"type":38,"tag":162,"props":3167,"children":3168},{"emptyLinePlaceholder":285},[3169],{"type":44,"value":288},{"type":38,"tag":162,"props":3171,"children":3173},{"class":164,"line":3172},50,[3174],{"type":38,"tag":162,"props":3175,"children":3176},{"style":2436},[3177],{"type":44,"value":3178},"\u002F\u002F Requires `npm install bs58` and `import bs58 from 'bs58'` at the top of the file\n",{"type":38,"tag":162,"props":3180,"children":3182},{"class":164,"line":3181},51,[3183,3188],{"type":38,"tag":162,"props":3184,"children":3185},{"style":169},[3186],{"type":44,"value":3187},"try",{"type":38,"tag":162,"props":3189,"children":3190},{"style":175},[3191],{"type":44,"value":178},{"type":38,"tag":162,"props":3193,"children":3195},{"class":164,"line":3194},52,[3196,3200,3205,3209,3214,3218,3222,3227,3231,3236,3240],{"type":38,"tag":162,"props":3197,"children":3198},{"style":295},[3199],{"type":44,"value":985},{"type":38,"tag":162,"props":3201,"children":3202},{"style":175},[3203],{"type":44,"value":3204}," [{",{"type":38,"tag":162,"props":3206,"children":3207},{"style":184},[3208],{"type":44,"value":1500},{"type":38,"tag":162,"props":3210,"children":3211},{"style":175},[3212],{"type":44,"value":3213}," }]",{"type":38,"tag":162,"props":3215,"children":3216},{"style":175},[3217],{"type":44,"value":373},{"type":38,"tag":162,"props":3219,"children":3220},{"style":169},[3221],{"type":44,"value":378},{"type":38,"tag":162,"props":3223,"children":3224},{"style":184},[3225],{"type":44,"value":3226}," signAndSendFeature",{"type":38,"tag":162,"props":3228,"children":3229},{"style":175},[3230],{"type":44,"value":388},{"type":38,"tag":162,"props":3232,"children":3233},{"style":316},[3234],{"type":44,"value":3235},"signAndSendTransaction",{"type":38,"tag":162,"props":3237,"children":3238},{"style":596},[3239],{"type":44,"value":324},{"type":38,"tag":162,"props":3241,"children":3242},{"style":175},[3243],{"type":44,"value":589},{"type":38,"tag":162,"props":3245,"children":3247},{"class":164,"line":3246},53,[3248,3253],{"type":38,"tag":162,"props":3249,"children":3250},{"style":184},[3251],{"type":44,"value":3252},"    account",{"type":38,"tag":162,"props":3254,"children":3255},{"style":175},[3256],{"type":44,"value":192},{"type":38,"tag":162,"props":3258,"children":3260},{"class":164,"line":3259},54,[3261,3266,3270,3275],{"type":38,"tag":162,"props":3262,"children":3263},{"style":596},[3264],{"type":44,"value":3265},"    transaction",{"type":38,"tag":162,"props":3267,"children":3268},{"style":175},[3269],{"type":44,"value":604},{"type":38,"tag":162,"props":3271,"children":3272},{"style":184},[3273],{"type":44,"value":3274}," serializedTransaction",{"type":38,"tag":162,"props":3276,"children":3277},{"style":175},[3278],{"type":44,"value":192},{"type":38,"tag":162,"props":3280,"children":3282},{"class":164,"line":3281},55,[3283,3288,3292,3296,3301,3305,3309],{"type":38,"tag":162,"props":3284,"children":3285},{"style":596},[3286],{"type":44,"value":3287},"    chain",{"type":38,"tag":162,"props":3289,"children":3290},{"style":175},[3291],{"type":44,"value":604},{"type":38,"tag":162,"props":3293,"children":3294},{"style":175},[3295],{"type":44,"value":263},{"type":38,"tag":162,"props":3297,"children":3298},{"style":266},[3299],{"type":44,"value":3300},"solana:mainnet",{"type":38,"tag":162,"props":3302,"children":3303},{"style":175},[3304],{"type":44,"value":273},{"type":38,"tag":162,"props":3306,"children":3307},{"style":175},[3308],{"type":44,"value":836},{"type":38,"tag":162,"props":3310,"children":3311},{"style":2436},[3312],{"type":44,"value":3313}," \u002F\u002F wallet-standard short form; full genesis-hash CAIP-2 IDs also accepted\n",{"type":38,"tag":162,"props":3315,"children":3317},{"class":164,"line":3316},56,[3318,3322,3326],{"type":38,"tag":162,"props":3319,"children":3320},{"style":175},[3321],{"type":44,"value":677},{"type":38,"tag":162,"props":3323,"children":3324},{"style":596},[3325],{"type":44,"value":342},{"type":38,"tag":162,"props":3327,"children":3328},{"style":175},[3329],{"type":44,"value":278},{"type":38,"tag":162,"props":3331,"children":3333},{"class":164,"line":3332},57,[3334],{"type":38,"tag":162,"props":3335,"children":3336},{"emptyLinePlaceholder":285},[3337],{"type":44,"value":288},{"type":38,"tag":162,"props":3339,"children":3341},{"class":164,"line":3340},58,[3342],{"type":38,"tag":162,"props":3343,"children":3344},{"style":2436},[3345],{"type":44,"value":3346},"  \u002F\u002F signature is a Uint8Array — encode with bs58 ('base58' is NOT a Buffer encoding)\n",{"type":38,"tag":162,"props":3348,"children":3350},{"class":164,"line":3349},59,[3351,3355,3360,3364,3369,3373,3378,3382,3386,3390],{"type":38,"tag":162,"props":3352,"children":3353},{"style":295},[3354],{"type":44,"value":985},{"type":38,"tag":162,"props":3356,"children":3357},{"style":184},[3358],{"type":44,"value":3359}," signatureBase58",{"type":38,"tag":162,"props":3361,"children":3362},{"style":175},[3363],{"type":44,"value":373},{"type":38,"tag":162,"props":3365,"children":3366},{"style":184},[3367],{"type":44,"value":3368}," bs58",{"type":38,"tag":162,"props":3370,"children":3371},{"style":175},[3372],{"type":44,"value":388},{"type":38,"tag":162,"props":3374,"children":3375},{"style":316},[3376],{"type":44,"value":3377},"encode",{"type":38,"tag":162,"props":3379,"children":3380},{"style":596},[3381],{"type":44,"value":324},{"type":38,"tag":162,"props":3383,"children":3384},{"style":184},[3385],{"type":44,"value":1638},{"type":38,"tag":162,"props":3387,"children":3388},{"style":596},[3389],{"type":44,"value":342},{"type":38,"tag":162,"props":3391,"children":3392},{"style":175},[3393],{"type":44,"value":278},{"type":38,"tag":162,"props":3395,"children":3397},{"class":164,"line":3396},60,[3398,3403,3407,3411,3415,3419,3423,3427,3431,3435,3439],{"type":38,"tag":162,"props":3399,"children":3400},{"style":184},[3401],{"type":44,"value":3402},"  console",{"type":38,"tag":162,"props":3404,"children":3405},{"style":175},[3406],{"type":44,"value":388},{"type":38,"tag":162,"props":3408,"children":3409},{"style":316},[3410],{"type":44,"value":1554},{"type":38,"tag":162,"props":3412,"children":3413},{"style":596},[3414],{"type":44,"value":324},{"type":38,"tag":162,"props":3416,"children":3417},{"style":175},[3418],{"type":44,"value":273},{"type":38,"tag":162,"props":3420,"children":3421},{"style":266},[3422],{"type":44,"value":1567},{"type":38,"tag":162,"props":3424,"children":3425},{"style":175},[3426],{"type":44,"value":273},{"type":38,"tag":162,"props":3428,"children":3429},{"style":175},[3430],{"type":44,"value":836},{"type":38,"tag":162,"props":3432,"children":3433},{"style":184},[3434],{"type":44,"value":3359},{"type":38,"tag":162,"props":3436,"children":3437},{"style":596},[3438],{"type":44,"value":342},{"type":38,"tag":162,"props":3440,"children":3441},{"style":175},[3442],{"type":44,"value":278},{"type":38,"tag":162,"props":3444,"children":3446},{"class":164,"line":3445},61,[3447],{"type":38,"tag":162,"props":3448,"children":3449},{"emptyLinePlaceholder":285},[3450],{"type":44,"value":288},{"type":38,"tag":162,"props":3452,"children":3454},{"class":164,"line":3453},62,[3455],{"type":38,"tag":162,"props":3456,"children":3457},{"style":2436},[3458],{"type":44,"value":3459},"  \u002F\u002F confirmTransaction expects the base58 signature string\n",{"type":38,"tag":162,"props":3461,"children":3463},{"class":164,"line":3462},63,[3464,3468,3472,3476,3480,3484,3488,3492,3496,3501,3505,3509,3513,3517,3521],{"type":38,"tag":162,"props":3465,"children":3466},{"style":295},[3467],{"type":44,"value":985},{"type":38,"tag":162,"props":3469,"children":3470},{"style":184},[3471],{"type":44,"value":1608},{"type":38,"tag":162,"props":3473,"children":3474},{"style":175},[3475],{"type":44,"value":373},{"type":38,"tag":162,"props":3477,"children":3478},{"style":169},[3479],{"type":44,"value":378},{"type":38,"tag":162,"props":3481,"children":3482},{"style":184},[3483],{"type":44,"value":383},{"type":38,"tag":162,"props":3485,"children":3486},{"style":175},[3487],{"type":44,"value":388},{"type":38,"tag":162,"props":3489,"children":3490},{"style":316},[3491],{"type":44,"value":1629},{"type":38,"tag":162,"props":3493,"children":3494},{"style":596},[3495],{"type":44,"value":324},{"type":38,"tag":162,"props":3497,"children":3498},{"style":184},[3499],{"type":44,"value":3500},"signatureBase58",{"type":38,"tag":162,"props":3502,"children":3503},{"style":175},[3504],{"type":44,"value":836},{"type":38,"tag":162,"props":3506,"children":3507},{"style":175},[3508],{"type":44,"value":263},{"type":38,"tag":162,"props":3510,"children":3511},{"style":266},[3512],{"type":44,"value":1651},{"type":38,"tag":162,"props":3514,"children":3515},{"style":175},[3516],{"type":44,"value":273},{"type":38,"tag":162,"props":3518,"children":3519},{"style":596},[3520],{"type":44,"value":342},{"type":38,"tag":162,"props":3522,"children":3523},{"style":175},[3524],{"type":44,"value":278},{"type":38,"tag":162,"props":3526,"children":3528},{"class":164,"line":3527},64,[3529,3533,3537,3541,3545,3549,3553,3557,3561,3565,3569],{"type":38,"tag":162,"props":3530,"children":3531},{"style":184},[3532],{"type":44,"value":3402},{"type":38,"tag":162,"props":3534,"children":3535},{"style":175},[3536],{"type":44,"value":388},{"type":38,"tag":162,"props":3538,"children":3539},{"style":316},[3540],{"type":44,"value":1554},{"type":38,"tag":162,"props":3542,"children":3543},{"style":596},[3544],{"type":44,"value":324},{"type":38,"tag":162,"props":3546,"children":3547},{"style":175},[3548],{"type":44,"value":273},{"type":38,"tag":162,"props":3550,"children":3551},{"style":266},[3552],{"type":44,"value":1692},{"type":38,"tag":162,"props":3554,"children":3555},{"style":175},[3556],{"type":44,"value":273},{"type":38,"tag":162,"props":3558,"children":3559},{"style":175},[3560],{"type":44,"value":836},{"type":38,"tag":162,"props":3562,"children":3563},{"style":184},[3564],{"type":44,"value":1608},{"type":38,"tag":162,"props":3566,"children":3567},{"style":596},[3568],{"type":44,"value":342},{"type":38,"tag":162,"props":3570,"children":3571},{"style":175},[3572],{"type":44,"value":278},{"type":38,"tag":162,"props":3574,"children":3576},{"class":164,"line":3575},65,[3577,3581,3585,3589,3593,3597,3601,3605],{"type":38,"tag":162,"props":3578,"children":3579},{"style":175},[3580],{"type":44,"value":253},{"type":38,"tag":162,"props":3582,"children":3583},{"style":169},[3584],{"type":44,"value":1726},{"type":38,"tag":162,"props":3586,"children":3587},{"style":175},[3588],{"type":44,"value":1122},{"type":38,"tag":162,"props":3590,"children":3591},{"style":1733},[3592],{"type":44,"value":1736},{"type":38,"tag":162,"props":3594,"children":3595},{"style":175},[3596],{"type":44,"value":604},{"type":38,"tag":162,"props":3598,"children":3599},{"style":1743},[3600],{"type":44,"value":1746},{"type":38,"tag":162,"props":3602,"children":3603},{"style":175},[3604],{"type":44,"value":342},{"type":38,"tag":162,"props":3606,"children":3607},{"style":175},[3608],{"type":44,"value":178},{"type":38,"tag":162,"props":3610,"children":3612},{"class":164,"line":3611},66,[3613,3618,3622,3626,3630,3634,3638,3642,3646],{"type":38,"tag":162,"props":3614,"children":3615},{"style":169},[3616],{"type":44,"value":3617},"  if",{"type":38,"tag":162,"props":3619,"children":3620},{"style":596},[3621],{"type":44,"value":1122},{"type":38,"tag":162,"props":3623,"children":3624},{"style":184},[3625],{"type":44,"value":1736},{"type":38,"tag":162,"props":3627,"children":3628},{"style":175},[3629],{"type":44,"value":388},{"type":38,"tag":162,"props":3631,"children":3632},{"style":184},[3633],{"type":44,"value":75},{"type":38,"tag":162,"props":3635,"children":3636},{"style":175},[3637],{"type":44,"value":1784},{"type":38,"tag":162,"props":3639,"children":3640},{"style":651},[3641],{"type":44,"value":1789},{"type":38,"tag":162,"props":3643,"children":3644},{"style":596},[3645],{"type":44,"value":1151},{"type":38,"tag":162,"props":3647,"children":3648},{"style":175},[3649],{"type":44,"value":589},{"type":38,"tag":162,"props":3651,"children":3653},{"class":164,"line":3652},67,[3654,3659,3663,3667,3671,3675,3679,3683,3687],{"type":38,"tag":162,"props":3655,"children":3656},{"style":184},[3657],{"type":44,"value":3658},"    console",{"type":38,"tag":162,"props":3660,"children":3661},{"style":175},[3662],{"type":44,"value":388},{"type":38,"tag":162,"props":3664,"children":3665},{"style":316},[3666],{"type":44,"value":1554},{"type":38,"tag":162,"props":3668,"children":3669},{"style":596},[3670],{"type":44,"value":324},{"type":38,"tag":162,"props":3672,"children":3673},{"style":175},[3674],{"type":44,"value":273},{"type":38,"tag":162,"props":3676,"children":3677},{"style":266},[3678],{"type":44,"value":1827},{"type":38,"tag":162,"props":3680,"children":3681},{"style":175},[3682],{"type":44,"value":273},{"type":38,"tag":162,"props":3684,"children":3685},{"style":596},[3686],{"type":44,"value":342},{"type":38,"tag":162,"props":3688,"children":3689},{"style":175},[3690],{"type":44,"value":278},{"type":38,"tag":162,"props":3692,"children":3694},{"class":164,"line":3693},68,[3695,3699,3704],{"type":38,"tag":162,"props":3696,"children":3697},{"style":175},[3698],{"type":44,"value":677},{"type":38,"tag":162,"props":3700,"children":3701},{"style":169},[3702],{"type":44,"value":3703}," else",{"type":38,"tag":162,"props":3705,"children":3706},{"style":175},[3707],{"type":44,"value":178},{"type":38,"tag":162,"props":3709,"children":3711},{"class":164,"line":3710},69,[3712,3716,3720,3724,3728,3732,3736,3740,3744,3748,3752],{"type":38,"tag":162,"props":3713,"children":3714},{"style":184},[3715],{"type":44,"value":3658},{"type":38,"tag":162,"props":3717,"children":3718},{"style":175},[3719],{"type":44,"value":388},{"type":38,"tag":162,"props":3721,"children":3722},{"style":316},[3723],{"type":44,"value":1878},{"type":38,"tag":162,"props":3725,"children":3726},{"style":596},[3727],{"type":44,"value":324},{"type":38,"tag":162,"props":3729,"children":3730},{"style":175},[3731],{"type":44,"value":273},{"type":38,"tag":162,"props":3733,"children":3734},{"style":266},[3735],{"type":44,"value":1891},{"type":38,"tag":162,"props":3737,"children":3738},{"style":175},[3739],{"type":44,"value":273},{"type":38,"tag":162,"props":3741,"children":3742},{"style":175},[3743],{"type":44,"value":836},{"type":38,"tag":162,"props":3745,"children":3746},{"style":184},[3747],{"type":44,"value":1904},{"type":38,"tag":162,"props":3749,"children":3750},{"style":596},[3751],{"type":44,"value":342},{"type":38,"tag":162,"props":3753,"children":3754},{"style":175},[3755],{"type":44,"value":278},{"type":38,"tag":162,"props":3757,"children":3759},{"class":164,"line":3758},70,[3760],{"type":38,"tag":162,"props":3761,"children":3762},{"style":175},[3763],{"type":44,"value":3764},"  }\n",{"type":38,"tag":162,"props":3766,"children":3768},{"class":164,"line":3767},71,[3769],{"type":38,"tag":162,"props":3770,"children":3771},{"style":175},[3772],{"type":44,"value":2068},{"type":38,"tag":132,"props":3774,"children":3776},{"id":3775},"step-3-sign-without-sending-sign-only-flow",[3777],{"type":44,"value":3778},"Step 3: Sign without sending (sign-only flow)",{"type":38,"tag":54,"props":3780,"children":3781},{},[3782],{"type":44,"value":3783},"If you need to sign a transaction without broadcasting it (e.g., for offline signing or multi-sig):",{"type":38,"tag":54,"props":3785,"children":3786},{},[3787],{"type":38,"tag":768,"props":3788,"children":3789},{},[3790],{"type":44,"value":3791},"React:",{"type":38,"tag":151,"props":3793,"children":3795},{"className":153,"code":3794,"language":155,"meta":156,"style":156},"const { signTransaction } = useWallet();\n\nif (signTransaction) {\n  const signedTransaction = await signTransaction(transaction);\n  \u002F\u002F signedTransaction is now signed but NOT sent — broadcast manually if needed\n  const rawTransaction = signedTransaction.serialize();\n  const signature = await connection.sendRawTransaction(rawTransaction);\n}\n",[3796],{"type":38,"tag":75,"props":3797,"children":3798},{"__ignoreMap":156},[3799,3835,3842,3859,3900,3908,3944,3993],{"type":38,"tag":162,"props":3800,"children":3801},{"class":164,"line":165},[3802,3806,3810,3815,3819,3823,3827,3831],{"type":38,"tag":162,"props":3803,"children":3804},{"style":295},[3805],{"type":44,"value":298},{"type":38,"tag":162,"props":3807,"children":3808},{"style":175},[3809],{"type":44,"value":359},{"type":38,"tag":162,"props":3811,"children":3812},{"style":184},[3813],{"type":44,"value":3814}," signTransaction ",{"type":38,"tag":162,"props":3816,"children":3817},{"style":175},[3818],{"type":44,"value":253},{"type":38,"tag":162,"props":3820,"children":3821},{"style":175},[3822],{"type":44,"value":373},{"type":38,"tag":162,"props":3824,"children":3825},{"style":316},[3826],{"type":44,"value":831},{"type":38,"tag":162,"props":3828,"children":3829},{"style":184},[3830],{"type":44,"value":398},{"type":38,"tag":162,"props":3832,"children":3833},{"style":175},[3834],{"type":44,"value":278},{"type":38,"tag":162,"props":3836,"children":3837},{"class":164,"line":22},[3838],{"type":38,"tag":162,"props":3839,"children":3840},{"emptyLinePlaceholder":285},[3841],{"type":44,"value":288},{"type":38,"tag":162,"props":3843,"children":3844},{"class":164,"line":195},[3845,3850,3855],{"type":38,"tag":162,"props":3846,"children":3847},{"style":169},[3848],{"type":44,"value":3849},"if",{"type":38,"tag":162,"props":3851,"children":3852},{"style":184},[3853],{"type":44,"value":3854}," (signTransaction) ",{"type":38,"tag":162,"props":3856,"children":3857},{"style":175},[3858],{"type":44,"value":589},{"type":38,"tag":162,"props":3860,"children":3861},{"class":164,"line":208},[3862,3866,3871,3875,3879,3884,3888,3892,3896],{"type":38,"tag":162,"props":3863,"children":3864},{"style":295},[3865],{"type":44,"value":985},{"type":38,"tag":162,"props":3867,"children":3868},{"style":184},[3869],{"type":44,"value":3870}," signedTransaction",{"type":38,"tag":162,"props":3872,"children":3873},{"style":175},[3874],{"type":44,"value":373},{"type":38,"tag":162,"props":3876,"children":3877},{"style":169},[3878],{"type":44,"value":378},{"type":38,"tag":162,"props":3880,"children":3881},{"style":316},[3882],{"type":44,"value":3883}," signTransaction",{"type":38,"tag":162,"props":3885,"children":3886},{"style":596},[3887],{"type":44,"value":324},{"type":38,"tag":162,"props":3889,"children":3890},{"style":184},[3891],{"type":44,"value":706},{"type":38,"tag":162,"props":3893,"children":3894},{"style":596},[3895],{"type":44,"value":342},{"type":38,"tag":162,"props":3897,"children":3898},{"style":175},[3899],{"type":44,"value":278},{"type":38,"tag":162,"props":3901,"children":3902},{"class":164,"line":221},[3903],{"type":38,"tag":162,"props":3904,"children":3905},{"style":2436},[3906],{"type":44,"value":3907},"  \u002F\u002F signedTransaction is now signed but NOT sent — broadcast manually if needed\n",{"type":38,"tag":162,"props":3909,"children":3910},{"class":164,"line":234},[3911,3915,3920,3924,3928,3932,3936,3940],{"type":38,"tag":162,"props":3912,"children":3913},{"style":295},[3914],{"type":44,"value":985},{"type":38,"tag":162,"props":3916,"children":3917},{"style":184},[3918],{"type":44,"value":3919}," rawTransaction",{"type":38,"tag":162,"props":3921,"children":3922},{"style":175},[3923],{"type":44,"value":373},{"type":38,"tag":162,"props":3925,"children":3926},{"style":184},[3927],{"type":44,"value":3870},{"type":38,"tag":162,"props":3929,"children":3930},{"style":175},[3931],{"type":44,"value":388},{"type":38,"tag":162,"props":3933,"children":3934},{"style":316},[3935],{"type":44,"value":3006},{"type":38,"tag":162,"props":3937,"children":3938},{"style":596},[3939],{"type":44,"value":398},{"type":38,"tag":162,"props":3941,"children":3942},{"style":175},[3943],{"type":44,"value":278},{"type":38,"tag":162,"props":3945,"children":3946},{"class":164,"line":247},[3947,3951,3955,3959,3963,3967,3971,3976,3980,3985,3989],{"type":38,"tag":162,"props":3948,"children":3949},{"style":295},[3950],{"type":44,"value":985},{"type":38,"tag":162,"props":3952,"children":3953},{"style":184},[3954],{"type":44,"value":1500},{"type":38,"tag":162,"props":3956,"children":3957},{"style":175},[3958],{"type":44,"value":373},{"type":38,"tag":162,"props":3960,"children":3961},{"style":169},[3962],{"type":44,"value":378},{"type":38,"tag":162,"props":3964,"children":3965},{"style":184},[3966],{"type":44,"value":383},{"type":38,"tag":162,"props":3968,"children":3969},{"style":175},[3970],{"type":44,"value":388},{"type":38,"tag":162,"props":3972,"children":3973},{"style":316},[3974],{"type":44,"value":3975},"sendRawTransaction",{"type":38,"tag":162,"props":3977,"children":3978},{"style":596},[3979],{"type":44,"value":324},{"type":38,"tag":162,"props":3981,"children":3982},{"style":184},[3983],{"type":44,"value":3984},"rawTransaction",{"type":38,"tag":162,"props":3986,"children":3987},{"style":596},[3988],{"type":44,"value":342},{"type":38,"tag":162,"props":3990,"children":3991},{"style":175},[3992],{"type":44,"value":278},{"type":38,"tag":162,"props":3994,"children":3995},{"class":164,"line":281},[3996],{"type":38,"tag":162,"props":3997,"children":3998},{"style":175},[3999],{"type":44,"value":2068},{"type":38,"tag":54,"props":4001,"children":4002},{},[4003],{"type":38,"tag":768,"props":4004,"children":4005},{},[4006],{"type":44,"value":4007},"Browser (wallet-standard):",{"type":38,"tag":151,"props":4009,"children":4011},{"className":153,"code":4010,"language":155,"meta":156,"style":156},"const signFeature = wallet.features['solana:signTransaction'];\n\nconst [{ signedTransaction }] = await signFeature.signTransaction({\n  account,\n  transaction: transaction.serialize({ requireAllSignatures: false }),\n  chain: 'solana:mainnet',\n});\n\n\u002F\u002F signedTransaction is serialized and signed — broadcast manually\nconst signature = await connection.sendRawTransaction(signedTransaction);\n",[4012],{"type":38,"tag":75,"props":4013,"children":4014},{"__ignoreMap":156},[4015,4064,4071,4122,4134,4192,4220,4235,4242,4250],{"type":38,"tag":162,"props":4016,"children":4017},{"class":164,"line":165},[4018,4022,4027,4031,4035,4039,4043,4047,4052,4056,4060],{"type":38,"tag":162,"props":4019,"children":4020},{"style":295},[4021],{"type":44,"value":298},{"type":38,"tag":162,"props":4023,"children":4024},{"style":184},[4025],{"type":44,"value":4026}," signFeature ",{"type":38,"tag":162,"props":4028,"children":4029},{"style":175},[4030],{"type":44,"value":308},{"type":38,"tag":162,"props":4032,"children":4033},{"style":184},[4034],{"type":44,"value":2460},{"type":38,"tag":162,"props":4036,"children":4037},{"style":175},[4038],{"type":44,"value":388},{"type":38,"tag":162,"props":4040,"children":4041},{"style":184},[4042],{"type":44,"value":2469},{"type":38,"tag":162,"props":4044,"children":4045},{"style":175},[4046],{"type":44,"value":273},{"type":38,"tag":162,"props":4048,"children":4049},{"style":266},[4050],{"type":44,"value":4051},"solana:signTransaction",{"type":38,"tag":162,"props":4053,"children":4054},{"style":175},[4055],{"type":44,"value":273},{"type":38,"tag":162,"props":4057,"children":4058},{"style":184},[4059],{"type":44,"value":2486},{"type":38,"tag":162,"props":4061,"children":4062},{"style":175},[4063],{"type":44,"value":278},{"type":38,"tag":162,"props":4065,"children":4066},{"class":164,"line":22},[4067],{"type":38,"tag":162,"props":4068,"children":4069},{"emptyLinePlaceholder":285},[4070],{"type":44,"value":288},{"type":38,"tag":162,"props":4072,"children":4073},{"class":164,"line":195},[4074,4078,4082,4087,4092,4096,4100,4105,4109,4114,4118],{"type":38,"tag":162,"props":4075,"children":4076},{"style":295},[4077],{"type":44,"value":298},{"type":38,"tag":162,"props":4079,"children":4080},{"style":175},[4081],{"type":44,"value":3204},{"type":38,"tag":162,"props":4083,"children":4084},{"style":184},[4085],{"type":44,"value":4086}," signedTransaction ",{"type":38,"tag":162,"props":4088,"children":4089},{"style":175},[4090],{"type":44,"value":4091},"}]",{"type":38,"tag":162,"props":4093,"children":4094},{"style":175},[4095],{"type":44,"value":373},{"type":38,"tag":162,"props":4097,"children":4098},{"style":169},[4099],{"type":44,"value":378},{"type":38,"tag":162,"props":4101,"children":4102},{"style":184},[4103],{"type":44,"value":4104}," signFeature",{"type":38,"tag":162,"props":4106,"children":4107},{"style":175},[4108],{"type":44,"value":388},{"type":38,"tag":162,"props":4110,"children":4111},{"style":316},[4112],{"type":44,"value":4113},"signTransaction",{"type":38,"tag":162,"props":4115,"children":4116},{"style":184},[4117],{"type":44,"value":324},{"type":38,"tag":162,"props":4119,"children":4120},{"style":175},[4121],{"type":44,"value":589},{"type":38,"tag":162,"props":4123,"children":4124},{"class":164,"line":208},[4125,4130],{"type":38,"tag":162,"props":4126,"children":4127},{"style":184},[4128],{"type":44,"value":4129},"  account",{"type":38,"tag":162,"props":4131,"children":4132},{"style":175},[4133],{"type":44,"value":192},{"type":38,"tag":162,"props":4135,"children":4136},{"class":164,"line":221},[4137,4142,4146,4150,4154,4158,4162,4167,4172,4176,4180,4184,4188],{"type":38,"tag":162,"props":4138,"children":4139},{"style":596},[4140],{"type":44,"value":4141},"  transaction",{"type":38,"tag":162,"props":4143,"children":4144},{"style":175},[4145],{"type":44,"value":604},{"type":38,"tag":162,"props":4147,"children":4148},{"style":184},[4149],{"type":44,"value":1246},{"type":38,"tag":162,"props":4151,"children":4152},{"style":175},[4153],{"type":44,"value":388},{"type":38,"tag":162,"props":4155,"children":4156},{"style":316},[4157],{"type":44,"value":3006},{"type":38,"tag":162,"props":4159,"children":4160},{"style":184},[4161],{"type":44,"value":324},{"type":38,"tag":162,"props":4163,"children":4164},{"style":175},[4165],{"type":44,"value":4166},"{",{"type":38,"tag":162,"props":4168,"children":4169},{"style":596},[4170],{"type":44,"value":4171}," requireAllSignatures",{"type":38,"tag":162,"props":4173,"children":4174},{"style":175},[4175],{"type":44,"value":604},{"type":38,"tag":162,"props":4177,"children":4178},{"style":3029},[4179],{"type":44,"value":3032},{"type":38,"tag":162,"props":4181,"children":4182},{"style":175},[4183],{"type":44,"value":846},{"type":38,"tag":162,"props":4185,"children":4186},{"style":184},[4187],{"type":44,"value":342},{"type":38,"tag":162,"props":4189,"children":4190},{"style":175},[4191],{"type":44,"value":192},{"type":38,"tag":162,"props":4193,"children":4194},{"class":164,"line":234},[4195,4200,4204,4208,4212,4216],{"type":38,"tag":162,"props":4196,"children":4197},{"style":596},[4198],{"type":44,"value":4199},"  chain",{"type":38,"tag":162,"props":4201,"children":4202},{"style":175},[4203],{"type":44,"value":604},{"type":38,"tag":162,"props":4205,"children":4206},{"style":175},[4207],{"type":44,"value":263},{"type":38,"tag":162,"props":4209,"children":4210},{"style":266},[4211],{"type":44,"value":3300},{"type":38,"tag":162,"props":4213,"children":4214},{"style":175},[4215],{"type":44,"value":273},{"type":38,"tag":162,"props":4217,"children":4218},{"style":175},[4219],{"type":44,"value":192},{"type":38,"tag":162,"props":4221,"children":4222},{"class":164,"line":247},[4223,4227,4231],{"type":38,"tag":162,"props":4224,"children":4225},{"style":175},[4226],{"type":44,"value":253},{"type":38,"tag":162,"props":4228,"children":4229},{"style":184},[4230],{"type":44,"value":342},{"type":38,"tag":162,"props":4232,"children":4233},{"style":175},[4234],{"type":44,"value":278},{"type":38,"tag":162,"props":4236,"children":4237},{"class":164,"line":281},[4238],{"type":38,"tag":162,"props":4239,"children":4240},{"emptyLinePlaceholder":285},[4241],{"type":44,"value":288},{"type":38,"tag":162,"props":4243,"children":4244},{"class":164,"line":291},[4245],{"type":38,"tag":162,"props":4246,"children":4247},{"style":2436},[4248],{"type":44,"value":4249},"\u002F\u002F signedTransaction is serialized and signed — broadcast manually\n",{"type":38,"tag":162,"props":4251,"children":4252},{"class":164,"line":349},[4253,4257,4262,4266,4270,4274,4278,4282,4287],{"type":38,"tag":162,"props":4254,"children":4255},{"style":295},[4256],{"type":44,"value":298},{"type":38,"tag":162,"props":4258,"children":4259},{"style":184},[4260],{"type":44,"value":4261}," signature ",{"type":38,"tag":162,"props":4263,"children":4264},{"style":175},[4265],{"type":44,"value":308},{"type":38,"tag":162,"props":4267,"children":4268},{"style":169},[4269],{"type":44,"value":378},{"type":38,"tag":162,"props":4271,"children":4272},{"style":184},[4273],{"type":44,"value":383},{"type":38,"tag":162,"props":4275,"children":4276},{"style":175},[4277],{"type":44,"value":388},{"type":38,"tag":162,"props":4279,"children":4280},{"style":316},[4281],{"type":44,"value":3975},{"type":38,"tag":162,"props":4283,"children":4284},{"style":184},[4285],{"type":44,"value":4286},"(signedTransaction)",{"type":38,"tag":162,"props":4288,"children":4289},{"style":175},[4290],{"type":44,"value":278},{"type":38,"tag":132,"props":4292,"children":4294},{"id":4293},"step-4-send-multiple-transactions-batch",[4295],{"type":44,"value":4296},"Step 4: Send multiple transactions (batch)",{"type":38,"tag":54,"props":4298,"children":4299},{},[4300,4302,4307,4308,4314,4316,4321,4323,4328],{"type":44,"value":4301},"There is ",{"type":38,"tag":768,"props":4303,"children":4304},{},[4305],{"type":44,"value":4306},"no",{"type":44,"value":774},{"type":38,"tag":75,"props":4309,"children":4311},{"className":4310},[],[4312],{"type":44,"value":4313},"solana:signAndSendAllTransactions",{"type":44,"value":4315}," feature. The ",{"type":38,"tag":75,"props":4317,"children":4319},{"className":4318},[],[4320],{"type":44,"value":122},{"type":44,"value":4322}," feature is ",{"type":38,"tag":768,"props":4324,"children":4325},{},[4326],{"type":44,"value":4327},"variadic",{"type":44,"value":4329}," — pass multiple inputs and it returns one result per input:",{"type":38,"tag":151,"props":4331,"children":4333},{"className":153,"code":4332,"language":155,"meta":156,"style":156},"const signAndSendFeature = wallet.features['solana:signAndSendTransaction'];\n\nconst results = await signAndSendFeature.signAndSendTransaction(\n  { account, transaction: serializedTx1, chain: 'solana:mainnet' },\n  { account, transaction: serializedTx2, chain: 'solana:mainnet' },\n  { account, transaction: serializedTx3, chain: 'solana:mainnet' },\n);\n\nfor (const { signature } of results) {\n  console.log('Tx signature:', bs58.encode(signature));\n}\n",[4334],{"type":38,"tag":75,"props":4335,"children":4336},{"__ignoreMap":156},[4337,4384,4391,4427,4487,4543,4599,4610,4617,4659,4724],{"type":38,"tag":162,"props":4338,"children":4339},{"class":164,"line":165},[4340,4344,4348,4352,4356,4360,4364,4368,4372,4376,4380],{"type":38,"tag":162,"props":4341,"children":4342},{"style":295},[4343],{"type":44,"value":298},{"type":38,"tag":162,"props":4345,"children":4346},{"style":184},[4347],{"type":44,"value":3070},{"type":38,"tag":162,"props":4349,"children":4350},{"style":175},[4351],{"type":44,"value":308},{"type":38,"tag":162,"props":4353,"children":4354},{"style":184},[4355],{"type":44,"value":2460},{"type":38,"tag":162,"props":4357,"children":4358},{"style":175},[4359],{"type":44,"value":388},{"type":38,"tag":162,"props":4361,"children":4362},{"style":184},[4363],{"type":44,"value":2469},{"type":38,"tag":162,"props":4365,"children":4366},{"style":175},[4367],{"type":44,"value":273},{"type":38,"tag":162,"props":4369,"children":4370},{"style":266},[4371],{"type":44,"value":122},{"type":38,"tag":162,"props":4373,"children":4374},{"style":175},[4375],{"type":44,"value":273},{"type":38,"tag":162,"props":4377,"children":4378},{"style":184},[4379],{"type":44,"value":2486},{"type":38,"tag":162,"props":4381,"children":4382},{"style":175},[4383],{"type":44,"value":278},{"type":38,"tag":162,"props":4385,"children":4386},{"class":164,"line":22},[4387],{"type":38,"tag":162,"props":4388,"children":4389},{"emptyLinePlaceholder":285},[4390],{"type":44,"value":288},{"type":38,"tag":162,"props":4392,"children":4393},{"class":164,"line":195},[4394,4398,4403,4407,4411,4415,4419,4423],{"type":38,"tag":162,"props":4395,"children":4396},{"style":295},[4397],{"type":44,"value":298},{"type":38,"tag":162,"props":4399,"children":4400},{"style":184},[4401],{"type":44,"value":4402}," results ",{"type":38,"tag":162,"props":4404,"children":4405},{"style":175},[4406],{"type":44,"value":308},{"type":38,"tag":162,"props":4408,"children":4409},{"style":169},[4410],{"type":44,"value":378},{"type":38,"tag":162,"props":4412,"children":4413},{"style":184},[4414],{"type":44,"value":3226},{"type":38,"tag":162,"props":4416,"children":4417},{"style":175},[4418],{"type":44,"value":388},{"type":38,"tag":162,"props":4420,"children":4421},{"style":316},[4422],{"type":44,"value":3235},{"type":38,"tag":162,"props":4424,"children":4425},{"style":184},[4426],{"type":44,"value":563},{"type":38,"tag":162,"props":4428,"children":4429},{"class":164,"line":208},[4430,4435,4440,4444,4448,4452,4457,4461,4466,4470,4474,4478,4482],{"type":38,"tag":162,"props":4431,"children":4432},{"style":175},[4433],{"type":44,"value":4434},"  {",{"type":38,"tag":162,"props":4436,"children":4437},{"style":184},[4438],{"type":44,"value":4439}," account",{"type":38,"tag":162,"props":4441,"children":4442},{"style":175},[4443],{"type":44,"value":836},{"type":38,"tag":162,"props":4445,"children":4446},{"style":596},[4447],{"type":44,"value":1246},{"type":38,"tag":162,"props":4449,"children":4450},{"style":175},[4451],{"type":44,"value":604},{"type":38,"tag":162,"props":4453,"children":4454},{"style":184},[4455],{"type":44,"value":4456}," serializedTx1",{"type":38,"tag":162,"props":4458,"children":4459},{"style":175},[4460],{"type":44,"value":836},{"type":38,"tag":162,"props":4462,"children":4463},{"style":596},[4464],{"type":44,"value":4465}," chain",{"type":38,"tag":162,"props":4467,"children":4468},{"style":175},[4469],{"type":44,"value":604},{"type":38,"tag":162,"props":4471,"children":4472},{"style":175},[4473],{"type":44,"value":263},{"type":38,"tag":162,"props":4475,"children":4476},{"style":266},[4477],{"type":44,"value":3300},{"type":38,"tag":162,"props":4479,"children":4480},{"style":175},[4481],{"type":44,"value":273},{"type":38,"tag":162,"props":4483,"children":4484},{"style":175},[4485],{"type":44,"value":4486}," },\n",{"type":38,"tag":162,"props":4488,"children":4489},{"class":164,"line":221},[4490,4494,4498,4502,4506,4510,4515,4519,4523,4527,4531,4535,4539],{"type":38,"tag":162,"props":4491,"children":4492},{"style":175},[4493],{"type":44,"value":4434},{"type":38,"tag":162,"props":4495,"children":4496},{"style":184},[4497],{"type":44,"value":4439},{"type":38,"tag":162,"props":4499,"children":4500},{"style":175},[4501],{"type":44,"value":836},{"type":38,"tag":162,"props":4503,"children":4504},{"style":596},[4505],{"type":44,"value":1246},{"type":38,"tag":162,"props":4507,"children":4508},{"style":175},[4509],{"type":44,"value":604},{"type":38,"tag":162,"props":4511,"children":4512},{"style":184},[4513],{"type":44,"value":4514}," serializedTx2",{"type":38,"tag":162,"props":4516,"children":4517},{"style":175},[4518],{"type":44,"value":836},{"type":38,"tag":162,"props":4520,"children":4521},{"style":596},[4522],{"type":44,"value":4465},{"type":38,"tag":162,"props":4524,"children":4525},{"style":175},[4526],{"type":44,"value":604},{"type":38,"tag":162,"props":4528,"children":4529},{"style":175},[4530],{"type":44,"value":263},{"type":38,"tag":162,"props":4532,"children":4533},{"style":266},[4534],{"type":44,"value":3300},{"type":38,"tag":162,"props":4536,"children":4537},{"style":175},[4538],{"type":44,"value":273},{"type":38,"tag":162,"props":4540,"children":4541},{"style":175},[4542],{"type":44,"value":4486},{"type":38,"tag":162,"props":4544,"children":4545},{"class":164,"line":234},[4546,4550,4554,4558,4562,4566,4571,4575,4579,4583,4587,4591,4595],{"type":38,"tag":162,"props":4547,"children":4548},{"style":175},[4549],{"type":44,"value":4434},{"type":38,"tag":162,"props":4551,"children":4552},{"style":184},[4553],{"type":44,"value":4439},{"type":38,"tag":162,"props":4555,"children":4556},{"style":175},[4557],{"type":44,"value":836},{"type":38,"tag":162,"props":4559,"children":4560},{"style":596},[4561],{"type":44,"value":1246},{"type":38,"tag":162,"props":4563,"children":4564},{"style":175},[4565],{"type":44,"value":604},{"type":38,"tag":162,"props":4567,"children":4568},{"style":184},[4569],{"type":44,"value":4570}," serializedTx3",{"type":38,"tag":162,"props":4572,"children":4573},{"style":175},[4574],{"type":44,"value":836},{"type":38,"tag":162,"props":4576,"children":4577},{"style":596},[4578],{"type":44,"value":4465},{"type":38,"tag":162,"props":4580,"children":4581},{"style":175},[4582],{"type":44,"value":604},{"type":38,"tag":162,"props":4584,"children":4585},{"style":175},[4586],{"type":44,"value":263},{"type":38,"tag":162,"props":4588,"children":4589},{"style":266},[4590],{"type":44,"value":3300},{"type":38,"tag":162,"props":4592,"children":4593},{"style":175},[4594],{"type":44,"value":273},{"type":38,"tag":162,"props":4596,"children":4597},{"style":175},[4598],{"type":44,"value":4486},{"type":38,"tag":162,"props":4600,"children":4601},{"class":164,"line":247},[4602,4606],{"type":38,"tag":162,"props":4603,"children":4604},{"style":184},[4605],{"type":44,"value":342},{"type":38,"tag":162,"props":4607,"children":4608},{"style":175},[4609],{"type":44,"value":278},{"type":38,"tag":162,"props":4611,"children":4612},{"class":164,"line":281},[4613],{"type":38,"tag":162,"props":4614,"children":4615},{"emptyLinePlaceholder":285},[4616],{"type":44,"value":288},{"type":38,"tag":162,"props":4618,"children":4619},{"class":164,"line":291},[4620,4625,4629,4633,4637,4641,4645,4650,4655],{"type":38,"tag":162,"props":4621,"children":4622},{"style":169},[4623],{"type":44,"value":4624},"for",{"type":38,"tag":162,"props":4626,"children":4627},{"style":184},[4628],{"type":44,"value":1122},{"type":38,"tag":162,"props":4630,"children":4631},{"style":295},[4632],{"type":44,"value":298},{"type":38,"tag":162,"props":4634,"children":4635},{"style":175},[4636],{"type":44,"value":359},{"type":38,"tag":162,"props":4638,"children":4639},{"style":184},[4640],{"type":44,"value":4261},{"type":38,"tag":162,"props":4642,"children":4643},{"style":175},[4644],{"type":44,"value":253},{"type":38,"tag":162,"props":4646,"children":4647},{"style":175},[4648],{"type":44,"value":4649}," of",{"type":38,"tag":162,"props":4651,"children":4652},{"style":184},[4653],{"type":44,"value":4654}," results) ",{"type":38,"tag":162,"props":4656,"children":4657},{"style":175},[4658],{"type":44,"value":589},{"type":38,"tag":162,"props":4660,"children":4661},{"class":164,"line":349},[4662,4666,4670,4674,4678,4682,4687,4691,4695,4699,4703,4707,4711,4715,4720],{"type":38,"tag":162,"props":4663,"children":4664},{"style":184},[4665],{"type":44,"value":3402},{"type":38,"tag":162,"props":4667,"children":4668},{"style":175},[4669],{"type":44,"value":388},{"type":38,"tag":162,"props":4671,"children":4672},{"style":316},[4673],{"type":44,"value":1554},{"type":38,"tag":162,"props":4675,"children":4676},{"style":596},[4677],{"type":44,"value":324},{"type":38,"tag":162,"props":4679,"children":4680},{"style":175},[4681],{"type":44,"value":273},{"type":38,"tag":162,"props":4683,"children":4684},{"style":266},[4685],{"type":44,"value":4686},"Tx signature:",{"type":38,"tag":162,"props":4688,"children":4689},{"style":175},[4690],{"type":44,"value":273},{"type":38,"tag":162,"props":4692,"children":4693},{"style":175},[4694],{"type":44,"value":836},{"type":38,"tag":162,"props":4696,"children":4697},{"style":184},[4698],{"type":44,"value":3368},{"type":38,"tag":162,"props":4700,"children":4701},{"style":175},[4702],{"type":44,"value":388},{"type":38,"tag":162,"props":4704,"children":4705},{"style":316},[4706],{"type":44,"value":3377},{"type":38,"tag":162,"props":4708,"children":4709},{"style":596},[4710],{"type":44,"value":324},{"type":38,"tag":162,"props":4712,"children":4713},{"style":184},[4714],{"type":44,"value":1638},{"type":38,"tag":162,"props":4716,"children":4717},{"style":596},[4718],{"type":44,"value":4719},"))",{"type":38,"tag":162,"props":4721,"children":4722},{"style":175},[4723],{"type":44,"value":278},{"type":38,"tag":162,"props":4725,"children":4726},{"class":164,"line":405},[4727],{"type":38,"tag":162,"props":4728,"children":4729},{"style":175},[4730],{"type":44,"value":2068},{"type":38,"tag":132,"props":4732,"children":4734},{"id":4733},"step-5-confirm-the-transaction",[4735],{"type":44,"value":4736},"Step 5: Confirm the transaction",{"type":38,"tag":54,"props":4738,"children":4739},{},[4740,4742,4748],{"type":44,"value":4741},"Always confirm after sending. Use ",{"type":38,"tag":75,"props":4743,"children":4745},{"className":4744},[],[4746],{"type":44,"value":4747},"'confirmed'",{"type":44,"value":4749}," commitment for most use cases:",{"type":38,"tag":151,"props":4751,"children":4753},{"className":153,"code":4752,"language":155,"meta":156,"style":156},"const confirmation = await connection.confirmTransaction(signature, 'confirmed');\n\nif (confirmation.value.err) {\n  console.error('Transaction failed on-chain:', confirmation.value.err);\n} else {\n  console.log('Transaction succeeded');\n}\n",[4754],{"type":38,"tag":75,"props":4755,"children":4756},{"__ignoreMap":156},[4757,4818,4825,4859,4923,4938,4978],{"type":38,"tag":162,"props":4758,"children":4759},{"class":164,"line":165},[4760,4764,4769,4773,4777,4781,4785,4789,4794,4798,4802,4806,4810,4814],{"type":38,"tag":162,"props":4761,"children":4762},{"style":295},[4763],{"type":44,"value":298},{"type":38,"tag":162,"props":4765,"children":4766},{"style":184},[4767],{"type":44,"value":4768}," confirmation ",{"type":38,"tag":162,"props":4770,"children":4771},{"style":175},[4772],{"type":44,"value":308},{"type":38,"tag":162,"props":4774,"children":4775},{"style":169},[4776],{"type":44,"value":378},{"type":38,"tag":162,"props":4778,"children":4779},{"style":184},[4780],{"type":44,"value":383},{"type":38,"tag":162,"props":4782,"children":4783},{"style":175},[4784],{"type":44,"value":388},{"type":38,"tag":162,"props":4786,"children":4787},{"style":316},[4788],{"type":44,"value":1629},{"type":38,"tag":162,"props":4790,"children":4791},{"style":184},[4792],{"type":44,"value":4793},"(signature",{"type":38,"tag":162,"props":4795,"children":4796},{"style":175},[4797],{"type":44,"value":836},{"type":38,"tag":162,"props":4799,"children":4800},{"style":175},[4801],{"type":44,"value":263},{"type":38,"tag":162,"props":4803,"children":4804},{"style":266},[4805],{"type":44,"value":1651},{"type":38,"tag":162,"props":4807,"children":4808},{"style":175},[4809],{"type":44,"value":273},{"type":38,"tag":162,"props":4811,"children":4812},{"style":184},[4813],{"type":44,"value":342},{"type":38,"tag":162,"props":4815,"children":4816},{"style":175},[4817],{"type":44,"value":278},{"type":38,"tag":162,"props":4819,"children":4820},{"class":164,"line":22},[4821],{"type":38,"tag":162,"props":4822,"children":4823},{"emptyLinePlaceholder":285},[4824],{"type":44,"value":288},{"type":38,"tag":162,"props":4826,"children":4827},{"class":164,"line":195},[4828,4832,4837,4841,4846,4850,4855],{"type":38,"tag":162,"props":4829,"children":4830},{"style":169},[4831],{"type":44,"value":3849},{"type":38,"tag":162,"props":4833,"children":4834},{"style":184},[4835],{"type":44,"value":4836}," (confirmation",{"type":38,"tag":162,"props":4838,"children":4839},{"style":175},[4840],{"type":44,"value":388},{"type":38,"tag":162,"props":4842,"children":4843},{"style":184},[4844],{"type":44,"value":4845},"value",{"type":38,"tag":162,"props":4847,"children":4848},{"style":175},[4849],{"type":44,"value":388},{"type":38,"tag":162,"props":4851,"children":4852},{"style":184},[4853],{"type":44,"value":4854},"err) ",{"type":38,"tag":162,"props":4856,"children":4857},{"style":175},[4858],{"type":44,"value":589},{"type":38,"tag":162,"props":4860,"children":4861},{"class":164,"line":208},[4862,4866,4870,4874,4878,4882,4887,4891,4895,4899,4903,4907,4911,4915,4919],{"type":38,"tag":162,"props":4863,"children":4864},{"style":184},[4865],{"type":44,"value":3402},{"type":38,"tag":162,"props":4867,"children":4868},{"style":175},[4869],{"type":44,"value":388},{"type":38,"tag":162,"props":4871,"children":4872},{"style":316},[4873],{"type":44,"value":1878},{"type":38,"tag":162,"props":4875,"children":4876},{"style":596},[4877],{"type":44,"value":324},{"type":38,"tag":162,"props":4879,"children":4880},{"style":175},[4881],{"type":44,"value":273},{"type":38,"tag":162,"props":4883,"children":4884},{"style":266},[4885],{"type":44,"value":4886},"Transaction failed on-chain:",{"type":38,"tag":162,"props":4888,"children":4889},{"style":175},[4890],{"type":44,"value":273},{"type":38,"tag":162,"props":4892,"children":4893},{"style":175},[4894],{"type":44,"value":836},{"type":38,"tag":162,"props":4896,"children":4897},{"style":184},[4898],{"type":44,"value":1608},{"type":38,"tag":162,"props":4900,"children":4901},{"style":175},[4902],{"type":44,"value":388},{"type":38,"tag":162,"props":4904,"children":4905},{"style":184},[4906],{"type":44,"value":4845},{"type":38,"tag":162,"props":4908,"children":4909},{"style":175},[4910],{"type":44,"value":388},{"type":38,"tag":162,"props":4912,"children":4913},{"style":184},[4914],{"type":44,"value":1736},{"type":38,"tag":162,"props":4916,"children":4917},{"style":596},[4918],{"type":44,"value":342},{"type":38,"tag":162,"props":4920,"children":4921},{"style":175},[4922],{"type":44,"value":278},{"type":38,"tag":162,"props":4924,"children":4925},{"class":164,"line":221},[4926,4930,4934],{"type":38,"tag":162,"props":4927,"children":4928},{"style":175},[4929],{"type":44,"value":253},{"type":38,"tag":162,"props":4931,"children":4932},{"style":169},[4933],{"type":44,"value":3703},{"type":38,"tag":162,"props":4935,"children":4936},{"style":175},[4937],{"type":44,"value":178},{"type":38,"tag":162,"props":4939,"children":4940},{"class":164,"line":234},[4941,4945,4949,4953,4957,4961,4966,4970,4974],{"type":38,"tag":162,"props":4942,"children":4943},{"style":184},[4944],{"type":44,"value":3402},{"type":38,"tag":162,"props":4946,"children":4947},{"style":175},[4948],{"type":44,"value":388},{"type":38,"tag":162,"props":4950,"children":4951},{"style":316},[4952],{"type":44,"value":1554},{"type":38,"tag":162,"props":4954,"children":4955},{"style":596},[4956],{"type":44,"value":324},{"type":38,"tag":162,"props":4958,"children":4959},{"style":175},[4960],{"type":44,"value":273},{"type":38,"tag":162,"props":4962,"children":4963},{"style":266},[4964],{"type":44,"value":4965},"Transaction succeeded",{"type":38,"tag":162,"props":4967,"children":4968},{"style":175},[4969],{"type":44,"value":273},{"type":38,"tag":162,"props":4971,"children":4972},{"style":596},[4973],{"type":44,"value":342},{"type":38,"tag":162,"props":4975,"children":4976},{"style":175},[4977],{"type":44,"value":278},{"type":38,"tag":162,"props":4979,"children":4980},{"class":164,"line":247},[4981],{"type":38,"tag":162,"props":4982,"children":4983},{"style":175},[4984],{"type":44,"value":2068},{"type":38,"tag":132,"props":4986,"children":4988},{"id":4987},"step-6-error-handling",[4989],{"type":44,"value":4990},"Step 6: Error handling",{"type":38,"tag":4992,"props":4993,"children":4994},"table",{},[4995,5019],{"type":38,"tag":4996,"props":4997,"children":4998},"thead",{},[4999],{"type":38,"tag":5000,"props":5001,"children":5002},"tr",{},[5003,5009,5014],{"type":38,"tag":5004,"props":5005,"children":5006},"th",{},[5007],{"type":44,"value":5008},"Error",{"type":38,"tag":5004,"props":5010,"children":5011},{},[5012],{"type":44,"value":5013},"Cause",{"type":38,"tag":5004,"props":5015,"children":5016},{},[5017],{"type":44,"value":5018},"Action",{"type":38,"tag":5020,"props":5021,"children":5022},"tbody",{},[5023,5048,5071,5093,5115],{"type":38,"tag":5000,"props":5024,"children":5025},{},[5026,5038,5043],{"type":38,"tag":5027,"props":5028,"children":5029},"td",{},[5030,5032],{"type":44,"value":5031},"Code ",{"type":38,"tag":75,"props":5033,"children":5035},{"className":5034},[],[5036],{"type":44,"value":5037},"4001",{"type":38,"tag":5027,"props":5039,"children":5040},{},[5041],{"type":44,"value":5042},"User rejected in MetaMask",{"type":38,"tag":5027,"props":5044,"children":5045},{},[5046],{"type":44,"value":5047},"Show retry UI",{"type":38,"tag":5000,"props":5049,"children":5050},{},[5051,5061,5066],{"type":38,"tag":5027,"props":5052,"children":5053},{},[5054,5055],{"type":44,"value":5031},{"type":38,"tag":75,"props":5056,"children":5058},{"className":5057},[],[5059],{"type":44,"value":5060},"-32002",{"type":38,"tag":5027,"props":5062,"children":5063},{},[5064],{"type":44,"value":5065},"Request already pending",{"type":38,"tag":5027,"props":5067,"children":5068},{},[5069],{"type":44,"value":5070},"Wait for user to act in MetaMask",{"type":38,"tag":5000,"props":5072,"children":5073},{},[5074,5083,5088],{"type":38,"tag":5027,"props":5075,"children":5076},{},[5077],{"type":38,"tag":75,"props":5078,"children":5080},{"className":5079},[],[5081],{"type":44,"value":5082},"Blockhash not found",{"type":38,"tag":5027,"props":5084,"children":5085},{},[5086],{"type":44,"value":5087},"Blockhash expired before submission",{"type":38,"tag":5027,"props":5089,"children":5090},{},[5091],{"type":44,"value":5092},"Fetch a new blockhash and rebuild",{"type":38,"tag":5000,"props":5094,"children":5095},{},[5096,5105,5110],{"type":38,"tag":5027,"props":5097,"children":5098},{},[5099],{"type":38,"tag":75,"props":5100,"children":5102},{"className":5101},[],[5103],{"type":44,"value":5104},"Insufficient funds",{"type":38,"tag":5027,"props":5106,"children":5107},{},[5108],{"type":44,"value":5109},"Sender balance too low for transfer + fees",{"type":38,"tag":5027,"props":5111,"children":5112},{},[5113],{"type":44,"value":5114},"Show balance check UI",{"type":38,"tag":5000,"props":5116,"children":5117},{},[5118,5127,5132],{"type":38,"tag":5027,"props":5119,"children":5120},{},[5121],{"type":38,"tag":75,"props":5122,"children":5124},{"className":5123},[],[5125],{"type":44,"value":5126},"Transaction too large",{"type":38,"tag":5027,"props":5128,"children":5129},{},[5130],{"type":44,"value":5131},"Transaction exceeds 1232 bytes",{"type":38,"tag":5027,"props":5133,"children":5134},{},[5135],{"type":44,"value":5136},"Split into multiple transactions",{"type":38,"tag":151,"props":5138,"children":5140},{"className":153,"code":5139,"language":155,"meta":156,"style":156},"try {\n  const signature = await sendTransaction(transaction, connection);\n  await connection.confirmTransaction(signature, 'confirmed');\n} catch (err: any) {\n  switch (err.code) {\n    case 4001:\n      \u002F\u002F User rejected\n      break;\n    case -32002:\n      \u002F\u002F Pending — ask user to check MetaMask\n      break;\n    default:\n      if (err.message?.includes('Blockhash not found')) {\n        \u002F\u002F Retry with fresh blockhash\n      }\n      console.error('Transaction error:', err);\n  }\n}\n",[5141],{"type":38,"tag":75,"props":5142,"children":5143},{"__ignoreMap":156},[5144,5155,5202,5254,5289,5321,5338,5346,5358,5379,5387,5398,5410,5469,5477,5484,5532,5539],{"type":38,"tag":162,"props":5145,"children":5146},{"class":164,"line":165},[5147,5151],{"type":38,"tag":162,"props":5148,"children":5149},{"style":169},[5150],{"type":44,"value":3187},{"type":38,"tag":162,"props":5152,"children":5153},{"style":175},[5154],{"type":44,"value":178},{"type":38,"tag":162,"props":5156,"children":5157},{"class":164,"line":22},[5158,5162,5166,5170,5174,5178,5182,5186,5190,5194,5198],{"type":38,"tag":162,"props":5159,"children":5160},{"style":295},[5161],{"type":44,"value":985},{"type":38,"tag":162,"props":5163,"children":5164},{"style":184},[5165],{"type":44,"value":1500},{"type":38,"tag":162,"props":5167,"children":5168},{"style":175},[5169],{"type":44,"value":373},{"type":38,"tag":162,"props":5171,"children":5172},{"style":169},[5173],{"type":44,"value":378},{"type":38,"tag":162,"props":5175,"children":5176},{"style":316},[5177],{"type":44,"value":1003},{"type":38,"tag":162,"props":5179,"children":5180},{"style":596},[5181],{"type":44,"value":324},{"type":38,"tag":162,"props":5183,"children":5184},{"style":184},[5185],{"type":44,"value":706},{"type":38,"tag":162,"props":5187,"children":5188},{"style":175},[5189],{"type":44,"value":836},{"type":38,"tag":162,"props":5191,"children":5192},{"style":184},[5193],{"type":44,"value":383},{"type":38,"tag":162,"props":5195,"children":5196},{"style":596},[5197],{"type":44,"value":342},{"type":38,"tag":162,"props":5199,"children":5200},{"style":175},[5201],{"type":44,"value":278},{"type":38,"tag":162,"props":5203,"children":5204},{"class":164,"line":195},[5205,5210,5214,5218,5222,5226,5230,5234,5238,5242,5246,5250],{"type":38,"tag":162,"props":5206,"children":5207},{"style":169},[5208],{"type":44,"value":5209},"  await",{"type":38,"tag":162,"props":5211,"children":5212},{"style":184},[5213],{"type":44,"value":383},{"type":38,"tag":162,"props":5215,"children":5216},{"style":175},[5217],{"type":44,"value":388},{"type":38,"tag":162,"props":5219,"children":5220},{"style":316},[5221],{"type":44,"value":1629},{"type":38,"tag":162,"props":5223,"children":5224},{"style":596},[5225],{"type":44,"value":324},{"type":38,"tag":162,"props":5227,"children":5228},{"style":184},[5229],{"type":44,"value":1638},{"type":38,"tag":162,"props":5231,"children":5232},{"style":175},[5233],{"type":44,"value":836},{"type":38,"tag":162,"props":5235,"children":5236},{"style":175},[5237],{"type":44,"value":263},{"type":38,"tag":162,"props":5239,"children":5240},{"style":266},[5241],{"type":44,"value":1651},{"type":38,"tag":162,"props":5243,"children":5244},{"style":175},[5245],{"type":44,"value":273},{"type":38,"tag":162,"props":5247,"children":5248},{"style":596},[5249],{"type":44,"value":342},{"type":38,"tag":162,"props":5251,"children":5252},{"style":175},[5253],{"type":44,"value":278},{"type":38,"tag":162,"props":5255,"children":5256},{"class":164,"line":208},[5257,5261,5265,5269,5273,5277,5281,5285],{"type":38,"tag":162,"props":5258,"children":5259},{"style":175},[5260],{"type":44,"value":253},{"type":38,"tag":162,"props":5262,"children":5263},{"style":169},[5264],{"type":44,"value":1726},{"type":38,"tag":162,"props":5266,"children":5267},{"style":175},[5268],{"type":44,"value":1122},{"type":38,"tag":162,"props":5270,"children":5271},{"style":1733},[5272],{"type":44,"value":1736},{"type":38,"tag":162,"props":5274,"children":5275},{"style":175},[5276],{"type":44,"value":604},{"type":38,"tag":162,"props":5278,"children":5279},{"style":1743},[5280],{"type":44,"value":1746},{"type":38,"tag":162,"props":5282,"children":5283},{"style":175},[5284],{"type":44,"value":342},{"type":38,"tag":162,"props":5286,"children":5287},{"style":175},[5288],{"type":44,"value":178},{"type":38,"tag":162,"props":5290,"children":5291},{"class":164,"line":221},[5292,5297,5301,5305,5309,5313,5317],{"type":38,"tag":162,"props":5293,"children":5294},{"style":169},[5295],{"type":44,"value":5296},"  switch",{"type":38,"tag":162,"props":5298,"children":5299},{"style":596},[5300],{"type":44,"value":1122},{"type":38,"tag":162,"props":5302,"children":5303},{"style":184},[5304],{"type":44,"value":1736},{"type":38,"tag":162,"props":5306,"children":5307},{"style":175},[5308],{"type":44,"value":388},{"type":38,"tag":162,"props":5310,"children":5311},{"style":184},[5312],{"type":44,"value":75},{"type":38,"tag":162,"props":5314,"children":5315},{"style":596},[5316],{"type":44,"value":1151},{"type":38,"tag":162,"props":5318,"children":5319},{"style":175},[5320],{"type":44,"value":589},{"type":38,"tag":162,"props":5322,"children":5323},{"class":164,"line":234},[5324,5329,5333],{"type":38,"tag":162,"props":5325,"children":5326},{"style":169},[5327],{"type":44,"value":5328},"    case",{"type":38,"tag":162,"props":5330,"children":5331},{"style":651},[5332],{"type":44,"value":1789},{"type":38,"tag":162,"props":5334,"children":5335},{"style":175},[5336],{"type":44,"value":5337},":\n",{"type":38,"tag":162,"props":5339,"children":5340},{"class":164,"line":247},[5341],{"type":38,"tag":162,"props":5342,"children":5343},{"style":2436},[5344],{"type":44,"value":5345},"      \u002F\u002F User rejected\n",{"type":38,"tag":162,"props":5347,"children":5348},{"class":164,"line":281},[5349,5354],{"type":38,"tag":162,"props":5350,"children":5351},{"style":169},[5352],{"type":44,"value":5353},"      break",{"type":38,"tag":162,"props":5355,"children":5356},{"style":175},[5357],{"type":44,"value":278},{"type":38,"tag":162,"props":5359,"children":5360},{"class":164,"line":291},[5361,5365,5370,5375],{"type":38,"tag":162,"props":5362,"children":5363},{"style":169},[5364],{"type":44,"value":5328},{"type":38,"tag":162,"props":5366,"children":5367},{"style":175},[5368],{"type":44,"value":5369}," -",{"type":38,"tag":162,"props":5371,"children":5372},{"style":651},[5373],{"type":44,"value":5374},"32002",{"type":38,"tag":162,"props":5376,"children":5377},{"style":175},[5378],{"type":44,"value":5337},{"type":38,"tag":162,"props":5380,"children":5381},{"class":164,"line":349},[5382],{"type":38,"tag":162,"props":5383,"children":5384},{"style":2436},[5385],{"type":44,"value":5386},"      \u002F\u002F Pending — ask user to check MetaMask\n",{"type":38,"tag":162,"props":5388,"children":5389},{"class":164,"line":405},[5390,5394],{"type":38,"tag":162,"props":5391,"children":5392},{"style":169},[5393],{"type":44,"value":5353},{"type":38,"tag":162,"props":5395,"children":5396},{"style":175},[5397],{"type":44,"value":278},{"type":38,"tag":162,"props":5399,"children":5400},{"class":164,"line":413},[5401,5406],{"type":38,"tag":162,"props":5402,"children":5403},{"style":169},[5404],{"type":44,"value":5405},"    default",{"type":38,"tag":162,"props":5407,"children":5408},{"style":175},[5409],{"type":44,"value":5337},{"type":38,"tag":162,"props":5411,"children":5412},{"class":164,"line":464},[5413,5417,5421,5425,5429,5434,5439,5444,5448,5452,5456,5460,5465],{"type":38,"tag":162,"props":5414,"children":5415},{"style":169},[5416],{"type":44,"value":1763},{"type":38,"tag":162,"props":5418,"children":5419},{"style":596},[5420],{"type":44,"value":1122},{"type":38,"tag":162,"props":5422,"children":5423},{"style":184},[5424],{"type":44,"value":1736},{"type":38,"tag":162,"props":5426,"children":5427},{"style":175},[5428],{"type":44,"value":388},{"type":38,"tag":162,"props":5430,"children":5431},{"style":184},[5432],{"type":44,"value":5433},"message",{"type":38,"tag":162,"props":5435,"children":5436},{"style":175},[5437],{"type":44,"value":5438},"?.",{"type":38,"tag":162,"props":5440,"children":5441},{"style":316},[5442],{"type":44,"value":5443},"includes",{"type":38,"tag":162,"props":5445,"children":5446},{"style":596},[5447],{"type":44,"value":324},{"type":38,"tag":162,"props":5449,"children":5450},{"style":175},[5451],{"type":44,"value":273},{"type":38,"tag":162,"props":5453,"children":5454},{"style":266},[5455],{"type":44,"value":5082},{"type":38,"tag":162,"props":5457,"children":5458},{"style":175},[5459],{"type":44,"value":273},{"type":38,"tag":162,"props":5461,"children":5462},{"style":596},[5463],{"type":44,"value":5464},")) ",{"type":38,"tag":162,"props":5466,"children":5467},{"style":175},[5468],{"type":44,"value":589},{"type":38,"tag":162,"props":5470,"children":5471},{"class":164,"line":514},[5472],{"type":38,"tag":162,"props":5473,"children":5474},{"style":2436},[5475],{"type":44,"value":5476},"        \u002F\u002F Retry with fresh blockhash\n",{"type":38,"tag":162,"props":5478,"children":5479},{"class":164,"line":522},[5480],{"type":38,"tag":162,"props":5481,"children":5482},{"style":175},[5483],{"type":44,"value":1861},{"type":38,"tag":162,"props":5485,"children":5486},{"class":164,"line":566},[5487,5491,5495,5499,5503,5507,5512,5516,5520,5524,5528],{"type":38,"tag":162,"props":5488,"children":5489},{"style":184},[5490],{"type":44,"value":1545},{"type":38,"tag":162,"props":5492,"children":5493},{"style":175},[5494],{"type":44,"value":388},{"type":38,"tag":162,"props":5496,"children":5497},{"style":316},[5498],{"type":44,"value":1878},{"type":38,"tag":162,"props":5500,"children":5501},{"style":596},[5502],{"type":44,"value":324},{"type":38,"tag":162,"props":5504,"children":5505},{"style":175},[5506],{"type":44,"value":273},{"type":38,"tag":162,"props":5508,"children":5509},{"style":266},[5510],{"type":44,"value":5511},"Transaction error:",{"type":38,"tag":162,"props":5513,"children":5514},{"style":175},[5515],{"type":44,"value":273},{"type":38,"tag":162,"props":5517,"children":5518},{"style":175},[5519],{"type":44,"value":836},{"type":38,"tag":162,"props":5521,"children":5522},{"style":184},[5523],{"type":44,"value":1904},{"type":38,"tag":162,"props":5525,"children":5526},{"style":596},[5527],{"type":44,"value":342},{"type":38,"tag":162,"props":5529,"children":5530},{"style":175},[5531],{"type":44,"value":278},{"type":38,"tag":162,"props":5533,"children":5534},{"class":164,"line":592},[5535],{"type":38,"tag":162,"props":5536,"children":5537},{"style":175},[5538],{"type":44,"value":3764},{"type":38,"tag":162,"props":5540,"children":5541},{"class":164,"line":616},[5542],{"type":38,"tag":162,"props":5543,"children":5544},{"style":175},[5545],{"type":44,"value":2068},{"type":38,"tag":47,"props":5547,"children":5549},{"id":5548},"important-notes",[5550],{"type":44,"value":5551},"Important Notes",{"type":38,"tag":60,"props":5553,"children":5554},{},[5555,5573,5604,5628,5655,5733,5743,5759,5777],{"type":38,"tag":64,"props":5556,"children":5557},{},[5558,5563,5565,5571],{"type":38,"tag":768,"props":5559,"children":5560},{},[5561],{"type":44,"value":5562},"Always fetch a fresh blockhash",{"type":44,"value":5564}," — blockhashes expire after ~60 seconds. Fetch ",{"type":38,"tag":75,"props":5566,"children":5568},{"className":5567},[],[5569],{"type":44,"value":5570},"getLatestBlockhash()",{"type":44,"value":5572}," immediately before building the transaction, not at app startup.",{"type":38,"tag":64,"props":5574,"children":5575},{},[5576,5588,5590,5595,5597,5602],{"type":38,"tag":768,"props":5577,"children":5578},{},[5579,5581,5586],{"type":44,"value":5580},"Set ",{"type":38,"tag":75,"props":5582,"children":5584},{"className":5583},[],[5585],{"type":44,"value":1467},{"type":44,"value":5587}," before signing",{"type":44,"value":5589}," — the transaction must have ",{"type":38,"tag":75,"props":5591,"children":5593},{"className":5592},[],[5594],{"type":44,"value":1467},{"type":44,"value":5596}," and ",{"type":38,"tag":75,"props":5598,"children":5600},{"className":5599},[],[5601],{"type":44,"value":1438},{"type":44,"value":5603}," set before it is signed or serialized.",{"type":38,"tag":64,"props":5605,"children":5606},{},[5607,5618,5620,5626],{"type":38,"tag":768,"props":5608,"children":5609},{},[5610,5612],{"type":44,"value":5611},"Serialize with ",{"type":38,"tag":75,"props":5613,"children":5615},{"className":5614},[],[5616],{"type":44,"value":5617},"requireAllSignatures: false",{"type":44,"value":5619}," — when using wallet-standard features directly, the wallet will add the signature. Serializing with ",{"type":38,"tag":75,"props":5621,"children":5623},{"className":5622},[],[5624],{"type":44,"value":5625},"requireAllSignatures: true",{"type":44,"value":5627}," (the default) will throw because the transaction isn't signed yet.",{"type":38,"tag":64,"props":5629,"children":5630},{},[5631,5646,5648,5653],{"type":38,"tag":768,"props":5632,"children":5633},{},[5634,5639,5641],{"type":38,"tag":75,"props":5635,"children":5637},{"className":5636},[],[5638],{"type":44,"value":101},{"type":44,"value":5640}," vs ",{"type":38,"tag":75,"props":5642,"children":5644},{"className":5643},[],[5645],{"type":44,"value":3235},{"type":44,"value":5647}," — in the React adapter, ",{"type":38,"tag":75,"props":5649,"children":5651},{"className":5650},[],[5652],{"type":44,"value":101},{"type":44,"value":5654}," handles serialization internally. With wallet-standard features, you must serialize the transaction yourself and pass the bytes.",{"type":38,"tag":64,"props":5656,"children":5657},{},[5658,5674,5676,5681,5683,5688,5690,5695,5697,5703,5705,5710,5712,5717,5719,5724,5726,5731],{"type":38,"tag":768,"props":5659,"children":5660},{},[5661,5667,5669],{"type":38,"tag":75,"props":5662,"children":5664},{"className":5663},[],[5665],{"type":44,"value":5666},"chain",{"type":44,"value":5668}," is only honored by ",{"type":38,"tag":75,"props":5670,"children":5672},{"className":5671},[],[5673],{"type":44,"value":3235},{"type":44,"value":5675}," — ",{"type":38,"tag":75,"props":5677,"children":5679},{"className":5678},[],[5680],{"type":44,"value":3235},{"type":44,"value":5682}," reads the input's ",{"type":38,"tag":75,"props":5684,"children":5686},{"className":5685},[],[5687],{"type":44,"value":5666},{"type":44,"value":5689}," to pick the cluster, but ",{"type":38,"tag":75,"props":5691,"children":5693},{"className":5692},[],[5694],{"type":44,"value":4113},{"type":44,"value":5696},"\u002F",{"type":38,"tag":75,"props":5698,"children":5700},{"className":5699},[],[5701],{"type":44,"value":5702},"signMessage",{"type":44,"value":5704}," ignore any ",{"type":38,"tag":75,"props":5706,"children":5708},{"className":5707},[],[5709],{"type":44,"value":5666},{"type":44,"value":5711}," field and use the ",{"type":38,"tag":768,"props":5713,"children":5714},{},[5715],{"type":44,"value":5716},"connected session scope",{"type":44,"value":5718}," instead. Passing ",{"type":38,"tag":75,"props":5720,"children":5722},{"className":5721},[],[5723],{"type":44,"value":5666},{"type":44,"value":5725}," to ",{"type":38,"tag":75,"props":5727,"children":5729},{"className":5728},[],[5730],{"type":44,"value":4113},{"type":44,"value":5732}," is harmless but doesn't switch networks; connect with the scope you want to sign on.",{"type":38,"tag":64,"props":5734,"children":5735},{},[5736,5741],{"type":38,"tag":768,"props":5737,"children":5738},{},[5739],{"type":44,"value":5740},"Solana networks",{"type":44,"value":5742}," — 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":38,"tag":64,"props":5744,"children":5745},{},[5746,5757],{"type":38,"tag":768,"props":5747,"children":5748},{},[5749,5755],{"type":38,"tag":75,"props":5750,"children":5752},{"className":5751},[],[5753],{"type":44,"value":5754},"disconnect()",{"type":44,"value":5756}," only revokes Solana scopes",{"type":44,"value":5758}," — EVM sessions remain active.",{"type":38,"tag":64,"props":5760,"children":5761},{},[5762,5767,5769,5775],{"type":38,"tag":768,"props":5763,"children":5764},{},[5765],{"type":44,"value":5766},"Chrome on Android",{"type":44,"value":5768}," — apply the ",{"type":38,"tag":75,"props":5770,"children":5772},{"className":5771},[],[5773],{"type":44,"value":5774},"beforeunload",{"type":44,"value":5776}," workaround for the known page-unload bug during wallet interactions.",{"type":38,"tag":64,"props":5778,"children":5779},{},[5780,5785,5787,5792],{"type":38,"tag":768,"props":5781,"children":5782},{},[5783],{"type":44,"value":5784},"Confirm before reporting success",{"type":44,"value":5786}," — a submitted transaction is not finalized until ",{"type":38,"tag":75,"props":5788,"children":5790},{"className":5789},[],[5791],{"type":44,"value":1629},{"type":44,"value":5793}," returns. Always confirm before updating the UI.",{"type":38,"tag":5795,"props":5796,"children":5797},"style",{},[5798],{"type":44,"value":5799},"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":5801,"total":616},[5802,5819,5831,5843,5849,5866,5880],{"slug":5803,"name":5803,"fn":5804,"description":5805,"org":5806,"tags":5807,"stars":22,"repoUrl":23,"updatedAt":5818},"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},[5808,5811,5814,5817],{"name":5809,"slug":5810,"type":15},"Ethereum","ethereum",{"name":5812,"slug":5813,"type":15},"Migration","migration",{"name":5815,"slug":5816,"type":15},"SDK","sdk",{"name":13,"slug":14,"type":15},"2026-07-13T06:11:46.427441",{"slug":5820,"name":5820,"fn":5821,"description":5822,"org":5823,"tags":5824,"stars":22,"repoUrl":23,"updatedAt":5830},"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},[5825,5826,5827,5829],{"name":5809,"slug":5810,"type":15},{"name":5812,"slug":5813,"type":15},{"name":5828,"slug":5828,"type":15},"wagmi",{"name":13,"slug":14,"type":15},"2026-07-13T06:12:23.110706",{"slug":5832,"name":5832,"fn":5833,"description":5834,"org":5835,"tags":5836,"stars":22,"repoUrl":23,"updatedAt":5842},"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},[5837,5840,5841],{"name":5838,"slug":5839,"type":15},"API Development","api-development",{"name":5809,"slug":5810,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:11:56.866623",{"slug":4,"name":4,"fn":5,"description":6,"org":5844,"tags":5845,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5846,5847,5848],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"slug":5850,"name":5850,"fn":5851,"description":5852,"org":5853,"tags":5854,"stars":22,"repoUrl":23,"updatedAt":5865},"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},[5855,5856,5859,5862,5864],{"name":5809,"slug":5810,"type":15},{"name":5857,"slug":5858,"type":15},"Frontend","frontend",{"name":5860,"slug":5861,"type":15},"JavaScript","javascript",{"name":5863,"slug":155,"type":15},"TypeScript",{"name":13,"slug":14,"type":15},"2026-07-13T06:12:01.334051",{"slug":5867,"name":5867,"fn":5868,"description":5869,"org":5870,"tags":5871,"stars":22,"repoUrl":23,"updatedAt":5879},"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},[5872,5873,5874,5875,5878],{"name":5838,"slug":5839,"type":15},{"name":5809,"slug":5810,"type":15},{"name":5857,"slug":5858,"type":15},{"name":5876,"slug":5877,"type":15},"React","react",{"name":13,"slug":14,"type":15},"2026-07-13T06:11:52.764143",{"slug":5881,"name":5881,"fn":5882,"description":5883,"org":5884,"tags":5885,"stars":22,"repoUrl":23,"updatedAt":5894},"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},[5886,5887,5890,5893],{"name":5809,"slug":5810,"type":15},{"name":5888,"slug":5889,"type":15},"Mobile","mobile",{"name":5891,"slug":5892,"type":15},"React Native","react-native",{"name":13,"slug":14,"type":15},"2026-07-13T06:12:11.764689",{"items":5896,"total":1423},[5897,5914,5926,5938,5947,5957,5970,5986,5993,6000,6006,6012],{"slug":5898,"name":5898,"fn":5899,"description":5900,"org":5901,"tags":5902,"stars":3259,"repoUrl":5912,"updatedAt":5913},"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},[5903,5904,5907,5908,5911],{"name":5838,"slug":5839,"type":15},{"name":5905,"slug":5906,"type":15},"Auth","auth",{"name":5809,"slug":5810,"type":15},{"name":5909,"slug":5910,"type":15},"Permissions","permissions",{"name":13,"slug":14,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fsmart-accounts-kit","2026-07-13T06:11:32.8327",{"slug":5915,"name":5915,"fn":5916,"description":5917,"org":5918,"tags":5919,"stars":3259,"repoUrl":5912,"updatedAt":5925},"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},[5920,5921,5922,5923],{"name":5838,"slug":5839,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":5924,"slug":5924,"type":15},"x402","2026-07-13T06:11:30.877136",{"slug":5927,"name":5927,"fn":5928,"description":5929,"org":5930,"tags":5931,"stars":291,"repoUrl":5936,"updatedAt":5937},"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},[5932,5933],{"name":5838,"slug":5839,"type":15},{"name":5934,"slug":5935,"type":15},"Search","search","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Focap-kernel","2026-07-13T06:12:37.024095",{"slug":8,"name":8,"fn":5939,"description":5940,"org":5941,"tags":5942,"stars":291,"repoUrl":5936,"updatedAt":5946},"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},[5943,5944,5945],{"name":5838,"slug":5839,"type":15},{"name":5809,"slug":5810,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:12:33.955806",{"slug":5948,"name":5948,"fn":5949,"description":5950,"org":5951,"tags":5952,"stars":291,"repoUrl":5936,"updatedAt":5956},"wallet","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},[5953,5954,5955],{"name":5809,"slug":5810,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:12:35.380244",{"slug":5958,"name":5958,"fn":5959,"description":5960,"org":5961,"tags":5962,"stars":247,"repoUrl":5968,"updatedAt":5969},"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},[5963,5964,5965,5966,5967],{"name":5838,"slug":5839,"type":15},{"name":5809,"slug":5810,"type":15},{"name":20,"slug":21,"type":15},{"name":5828,"slug":5828,"type":15},{"name":13,"slug":14,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fconnect-monorepo","2026-07-13T06:11:34.445665",{"slug":5971,"name":5971,"fn":5972,"description":5973,"org":5974,"tags":5975,"stars":221,"repoUrl":5984,"updatedAt":5985},"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},[5976,5979,5982,5983],{"name":5977,"slug":5978,"type":15},"Blockchain","blockchain",{"name":5980,"slug":5981,"type":15},"DeFi","defi",{"name":5809,"slug":5810,"type":15},{"name":13,"slug":14,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fagent-skills","2026-08-01T05:45:07.976522",{"slug":5803,"name":5803,"fn":5804,"description":5805,"org":5987,"tags":5988,"stars":22,"repoUrl":23,"updatedAt":5818},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5989,5990,5991,5992],{"name":5809,"slug":5810,"type":15},{"name":5812,"slug":5813,"type":15},{"name":5815,"slug":5816,"type":15},{"name":13,"slug":14,"type":15},{"slug":5820,"name":5820,"fn":5821,"description":5822,"org":5994,"tags":5995,"stars":22,"repoUrl":23,"updatedAt":5830},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5996,5997,5998,5999],{"name":5809,"slug":5810,"type":15},{"name":5812,"slug":5813,"type":15},{"name":5828,"slug":5828,"type":15},{"name":13,"slug":14,"type":15},{"slug":5832,"name":5832,"fn":5833,"description":5834,"org":6001,"tags":6002,"stars":22,"repoUrl":23,"updatedAt":5842},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6003,6004,6005],{"name":5838,"slug":5839,"type":15},{"name":5809,"slug":5810,"type":15},{"name":13,"slug":14,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":6007,"tags":6008,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6009,6010,6011],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"slug":5850,"name":5850,"fn":5851,"description":5852,"org":6013,"tags":6014,"stars":22,"repoUrl":23,"updatedAt":5865},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6015,6016,6017,6018,6019],{"name":5809,"slug":5810,"type":15},{"name":5857,"slug":5858,"type":15},{"name":5860,"slug":5861,"type":15},{"name":5863,"slug":155,"type":15},{"name":13,"slug":14,"type":15}]