In a connection request, it is recommended to serialize the response to getAccounts in session.sessionProperties.sui_getAccounts. This allows dapps to consume an active session without requiring a context switch to re-request all addresses and associated public keys from the wallet.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"WalletConnect Docs","colors":{"primary":"#0988f0","light":"#0988f0","dark":"#0988f0"},"logo":{"light":"https://mintcdn.com/test-walletconnect/pIxCFe-MIAEtZbE4/logo/light.svg?fit=max\u0026auto=format\u0026n=pIxCFe-MIAEtZbE4\u0026q=85\u0026s=5d5a5f2e6fb21c34d112d52f97ccff98","dark":"https://mintcdn.com/test-walletconnect/pIxCFe-MIAEtZbE4/logo/dark.svg?fit=max\u0026auto=format\u0026n=pIxCFe-MIAEtZbE4\u0026q=85\u0026s=07090b22f930d15c40ff339d4868188b"},"favicon":"https://mintcdn.com/test-walletconnect/-Ka0aJtTgliZnNlz/favicon.ico?fit=max\u0026auto=format\u0026n=-Ka0aJtTgliZnNlz\u0026q=85\u0026s=ed1a14e472fd1db3f8b6e182c5cf576d","navbar":{"links":[{"href":"https://walletguide.walletconnect.com/","label":"WalletGuide"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.walletconnect.com"}},"footer":{"socials":{"website":"https://walletconnect.com/network","x":"https://x.com/walletconnect","discord":"https://discord.walletconnect.com","github":"https://github.com/WalletConnect","linkedin":"https://www.linkedin.com/company/walletconnectnetwork"}},"integrations":{"posthog":{"apiKey":"phc_yUywlbA5HctEGSHSK7ueMEH56ktyqyqEBtY4Cl35Fgf","apiHost":"https://pineapple.walletconnect.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"WalletConnect","icon":"globe","href":"https://walletconnect.com/network"},{"anchor":"Blog","icon":"newspaper","href":"https://walletconnect.com/blog"},{"anchor":"Whitepaper","icon":"book","href":"https://whitepaper.walletconnect.com/WalletConnect%20Whitepaper.pdf"},{"anchor":"WalletConnect Specs","icon":"code","href":"https://specs.walletconnect.com/"},{"anchor":"Report an Issue","icon":"bug","href":"/report-an-issue"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"test-walletconnect","hasAudioNarration":false,"actualSubdomain":"test-walletconnect","customDomains":["docs.walletconnect.network"],"gitSource":{"type":"github","owner":"walletconnectfoundation","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ac6396d4389792f3afdff13","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Wallets","count":100},{"language":"default","tag":"Wallet SDK - Overview","count":33},{"language":"default","tag":"Core","count":30},{"language":"default","tag":"Cloud","count":18},{"language":"default","tag":"Android","count":13},{"language":"default","tag":"iOS","count":13},{"language":"default","tag":"React Native","count":13},{"language":"default","tag":"Network","count":11},{"language":"default","tag":"Chain Support","count":11},{"language":"default","tag":"Flutter","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"wallet-sdk/chain-support/sui","slug":"/wallet-sdk/chain-support/sui","pageMetadata":{"title":"Sui","description":"Overview of the Sui JSON-RPC methods supported by Wallet SDK.","href":"/wallet-sdk/chain-support/sui"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Overview of the Sui JSON-RPC methods supported by Wallet SDK.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`These are the methods that wallets should implement to handle Sui transactions and messages via WalletConnect.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The SUI RPC standard is still under review and specifications may change. Implementation details and method signatures are subject to updates.`})}),`\n`,_jsx(Heading,{level:`2`,id:`sui_getaccounts`,children:`sui_getAccounts`}),`\n`,_jsx(_components.p,{children:`This method returns an Array of public keys and addresses available to sign from the wallet.`}),`\n`,_jsx(Heading,{level:`3`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(_components.p,{children:`none`}),`\n`,_jsx(Heading,{level:`3`,id:`returns`,children:`Returns`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Array`}),` - Array of accounts:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Object`}),` :`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pubkey`}),` : `,_jsx(_components.code,{children:`String`}),` - public key for keypair`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`address`}),` : `,_jsx(_components.code,{children:`String`}),` - the Sui address`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sui_getAccounts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Result`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pubkey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AC68P56WCCTF0nUEX31/V5b1wqiD1pvfc8Fql8dPIPDA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x3cd077f41680eebca0176baad3915b2ea26dbbdfd10161865234732bb1f2ac50\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`session-properties`,children:`Session Properties`}),`\n`,_jsxs(_components.p,{children:[`In a connection request, it is recommended to serialize the response to `,_jsx(_components.code,{children:`getAccounts`}),` in `,_jsx(_components.code,{children:`session.sessionProperties.sui_getAccounts`}),`. This allows dapps to consume an active session without requiring a context switch to re-request all addresses and associated public keys from the wallet.`]}),`\n`,_jsx(Heading,{level:`2`,id:`sui_signtransaction`,children:`sui_signTransaction`}),`\n`,_jsx(_components.p,{children:`Sign a Sui transaction without executing it.`}),`\n`,_jsx(Heading,{level:`4`,id:`parameters-2`,children:`Parameters`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`transaction`}),` (object) - The transaction to sign:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`transaction`}),` (string) - The base64 encoded, BCS encoded, transaction data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`address`}),` (string) - The sender’s Sui address`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`returns-2`,children:`Returns`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`object`}),` - The signed transaction:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`signature`}),` (string) - The base64 encoded signature`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`transactionBytes`}),` (string) - The base64 encoded signed transaction bytes`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`example-2`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sui_signTransaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AAACAAhkAAAAAAAAAAAgcfGPMPqXhXLvgkjSYSgtJoBBfJN4xPm3bwZGapDhVIICAgABAQAAAQEDAAAAAAEBAHHxjzD6l4Vy74JI0mEoLSaAQXyTeMT5t28GRmqQ4VSCAq3fqx8mNL6p13BcS9bG74Gbh1dowEtQ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0xd5f647edb77d4fda31d0304506447fb3c92e55aaf77bc5ed4b77c332dd4605fa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Response`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ACRvdr3yI2mdpeOK+NsJIimdNGcE9R//jjT3HALZ17fFyu818op4jZi/64lPBjpKMDX6ZtxnCFZExTOFdpi3MwEZXLv/ORduxMYX0fw8dbHlnWC8WG0ymrlAmARpEibbhw==\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transactionBytes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AAACAAhkAAAAAAAAAAAg1fZH7bd9T9ox0DBFBkR/s8kuVar3e8XtS3fDMt1GBfoCAgABAQAAAQEDAAAAAAEBANX2R+23fU/aMdAwRQZEf7PJLlWq93vF7Ut3wzLdRgX6At/pRJzj2VpZgqXpSvEtd3GzPvt99hR8e/yOCGz/8nbRmA7QFAAAAAAgBy5vStJizn76LmJTBlDiONdR/2rSuzzS4L+Tp/Zs4hZ8cBxYkcSlxBD6QXvgS11E6d+DNek8LiA/beba6iH3l5gO0BQAAAAAIMpdmZjiqJ5GG9di1MAgD4S3uRr2gaMC7S1WsaeBwNIx1fZH7bd9T9ox0DBFBkR/s8kuVar3e8XtS3fDMt1GBfroAwAAAAAAAECrPAAAAAAAAA==\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`sui_signandexecutetransaction`,children:`sui_signAndExecuteTransaction`}),`\n`,_jsx(_components.p,{children:`Sign and execute a Sui transaction.`}),`\n`,_jsx(Heading,{level:`4`,id:`parameters-3`,children:`Parameters`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`transaction`}),` (object) - The transaction to sign and execute:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`transaction`}),` (string) - The base64 encoded, BCS encoded, transaction data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`address`}),` (string) - The sender’s Sui address`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`returns-3`,children:`Returns`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`object`}),` - The transaction result:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`digest`}),` (string) - The transaction digest that can be used to look up the transaction in the explorer`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`example-3`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sui_signAndExecuteTransaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transaction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AAACAAhkAAAAAAAAAAAgcfGPMPqXhXLvgkjSYSgtJoBBfJN4xPm3bwZGapDhVIICAgABAQAAAQEDAAAAAAEBAHHxjzD6l4Vy74JI0mEoLSaAQXyTeMT5t28GRmqQ4VSCAq3fqx8mNL6p13BcS9bG74Gbh1dowEtQ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0xd5f647edb77d4fda31d0304506447fb3c92e55aaf77bc5ed4b77c332dd4605fa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Response`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"digest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"GBqPRFR9sYfWA8rt2wCkcgZrctyYMj8Ufunxkjg5G8zt\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`sui_signpersonalmessage`,children:`sui_signPersonalMessage`}),`\n`,_jsx(_components.p,{children:`Sign a personal message.`}),`\n`,_jsx(Heading,{level:`4`,id:`parameters-4`,children:`Parameters`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`message`}),` (object) - The message to sign:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`message`}),` (string) - The message to sign (plain text)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`address`}),` (string) - The account address to sign with`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`returns-4`,children:`Returns`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`object`}),` - The signed message:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`signature`}),` (string) - The base64 encoded signature`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`example-4`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sui_signPersonalMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"This is a message to be signed for SUI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0xd5f647edb77d4fda31d0304506447fb3c92e55aaf77bc5ed4b77c332dd4605fa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Response`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jsonrpc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"APsZ7PvuAynXYxxfeo0Py4DWOnrUpwqHhJJ1F8aGB2nmS5Wv9dvVo8Gr7DKaXwPMqFaFNKsHb0Hej07R0L0NpQsZXLv/ORduxMYX0fw8dbHlnWC8WG0ymrlAmARpEibbhw==\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`additional-resources`,children:`Additional Resources`}),`\n`,_jsxs(_components.p,{children:[`For more information about Sui RPC methods and implementation details, please refer to the `,_jsx(_components.a,{href:`https://docs.sui.io/sui-api-ref`,children:`official Sui documentation`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Sui","description":"Overview of the Sui JSON-RPC methods supported by Wallet SDK.","href":"/wallet-sdk/chain-support/sui"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"sui_getAccounts","slug":"sui_getaccounts","depth":2,"children":[{"title":"Parameters","slug":"parameters","depth":3,"children":[]},{"title":"Returns","slug":"returns","depth":3,"children":[]},{"title":"Example","slug":"example","depth":3,"children":[]},{"title":"Session Properties","slug":"session-properties","depth":3,"children":[]}]},{"title":"sui_signTransaction","slug":"sui_signtransaction","depth":2,"children":[{"title":"Parameters","slug":"parameters-2","depth":4,"children":[]},{"title":"Returns","slug":"returns-2","depth":4,"children":[]},{"title":"Example","slug":"example-2","depth":4,"children":[]},{"title":"sui_signAndExecuteTransaction","slug":"sui_signandexecutetransaction","depth":3,"children":[]},{"title":"Parameters","slug":"parameters-3","depth":4,"children":[]},{"title":"Returns","slug":"returns-3","depth":4,"children":[]},{"title":"Example","slug":"example-3","depth":4,"children":[]},{"title":"sui_signPersonalMessage","slug":"sui_signpersonalmessage","depth":3,"children":[]},{"title":"Parameters","slug":"parameters-4","depth":4,"children":[]},{"title":"Returns","slug":"returns-4","depth":4,"children":[]},{"title":"Example","slug":"example-4","depth":4,"children":[]}]},{"title":"Additional Resources","slug":"additional-resources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"test-walletconnect","siteName":"WalletConnect Docs","title":"Sui - WalletConnect Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T15:17:02.154Z","originalFileLocation":"wallet-sdk/chain-support/sui.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Overview of the Sui JSON-RPC methods supported by Wallet SDK.\">\u003cmeta data-mint-head name=\"application-name\" content=\"WalletConnect Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Sui - WalletConnect Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Overview of the Sui JSON-RPC methods supported by Wallet SDK.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WalletConnect Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://test-walletconnect.mintlify.site/_mintlify/api/og/v2?division=Chain+Support\u0026amp;title=Sui\u0026amp;description=Overview+of+the+Sui+JSON-RPC+methods+supported+by+Wallet+SDK.\u0026amp;theme=5952d5eeb396634ab8b44572\u0026amp;signature=70234120ccf58cc8d266be39db95fd3b678f008e162b3758a217bec8eda36c2e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Sui - WalletConnect Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Overview of the Sui JSON-RPC methods supported by Wallet SDK.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://test-walletconnect.mintlify.site/_mintlify/api/og/v2?division=Chain+Support\u0026amp;title=Sui\u0026amp;description=Overview+of+the+Sui+JSON-RPC+methods+supported+by+Wallet+SDK.\u0026amp;theme=5952d5eeb396634ab8b44572\u0026amp;signature=70234120ccf58cc8d266be39db95fd3b678f008e162b3758a217bec8eda36c2e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/test-walletconnect/fxr_PgVh_dJcvGSi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WalletConnect Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0988f0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/wallet-sdk/chain-support/sui.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.walletconnect.network/#organization\",\"name\":\"WalletConnect Docs\",\"url\":\"https://docs.walletconnect.network\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/test-walletconnect/pIxCFe-MIAEtZbE4/logo/light.svg?fit=max\u0026auto=format\u0026n=pIxCFe-MIAEtZbE4\u0026q=85\u0026s=5d5a5f2e6fb21c34d112d52f97ccff98\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.walletconnect.network#website\",\"name\":\"WalletConnect Docs\",\"url\":\"https://docs.walletconnect.network\",\"publisher\":{\"@id\":\"https://docs.walletconnect.network/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui#webpage\",\"url\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui\",\"name\":\"Sui\",\"description\":\"Overview of the Sui JSON-RPC methods supported by Wallet SDK.\",\"dateModified\":\"2026-01-26T15:17:02.154Z\",\"isPartOf\":{\"@id\":\"https://docs.walletconnect.network#website\"},\"breadcrumb\":{\"@id\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Chain Support\",\"item\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sui\",\"item\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui#article\",\"headline\":\"Sui\",\"name\":\"Sui\",\"description\":\"Overview of the Sui JSON-RPC methods supported by Wallet SDK.\",\"url\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui\",\"mainEntityOfPage\":{\"@id\":\"https://docs.walletconnect.network/wallet-sdk/chain-support/sui#webpage\"},\"dateModified\":\"2026-01-26T15:17:02.154Z\",\"publisher\":{\"@id\":\"https://docs.walletconnect.network/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.walletconnect.network#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WalletConnect Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"WalletConnect Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/wallet-sdk/chain-support/sui.md","siteName":"WalletConnect Docs","nav":{"global":{"anchors":[{"anchor":"WalletConnect","icon":"globe","href":"https://walletconnect.com/network"},{"anchor":"Blog","icon":"newspaper","href":"https://walletconnect.com/blog"},{"anchor":"Whitepaper","icon":"book","href":"https://whitepaper.walletconnect.com/WalletConnect%20Whitepaper.pdf"},{"anchor":"WalletConnect Specs","icon":"code","href":"https://specs.walletconnect.com/"},{"anchor":"Report an Issue","icon":"bug","href":"/report-an-issue"}]},"tabs":[{"tab":"Wallets","icon":"wallet","dropdowns":[{"dropdown":"Wallet SDK - Overview","icon":"wallet","pages":[{"group":"Getting Started","pages":[{"title":"WalletConnect Wallet SDK","sidebarTitle":"Overview","href":"/wallet-sdk/overview"}]},{"group":"Features","pages":[{"title":"Verify API","sidebarTitle":"Verify","href":"/wallet-sdk/features/verify"},{"title":"Link Mode","href":"/wallet-sdk/features/link-mode"},{"title":"One-Click Auth","href":"/wallet-sdk/features/one-click-auth"}]},{"group":"Chain Support","pages":[{"title":"Chain Support","sidebarTitle":"Overview","href":"/wallet-sdk/chain-support/overview"},{"title":"Ethereum","href":"/wallet-sdk/chain-support/evm"},{"title":"Solana","href":"/wallet-sdk/chain-support/solana"},{"title":"Bitcoin","description":"Bitcoin JSON-RPC methods supported by Wallet SDK.","href":"/wallet-sdk/chain-support/bitcoin"},{"title":"Sui","href":"/wallet-sdk/chain-support/sui"},{"title":"Stacks","description":"Overview of the Stacks JSON-RPC methods supported by Wallet SDK.","href":"/wallet-sdk/chain-support/stacks"},{"title":"TON","href":"/wallet-sdk/chain-support/ton"},{"title":"Tron","href":"/wallet-sdk/chain-support/tron"},{"title":"ADI Chain","href":"/wallet-sdk/chain-support/adi"},{"title":"Canton","href":"/wallet-sdk/chain-support/canton"},{"title":"Stellar","href":"/wallet-sdk/chain-support/stellar"}]},{"group":"WalletGuide","pages":[{"title":"WalletGuide Submission","href":"/walletguide/explorer-submission"},{"group":"WalletGuide Chains","pages":[{"title":"Chain Onboarding","href":"/walletguide/chains/overview"},{"title":"Supported Chains","href":"/walletguide/chains/chain-list"}]},{"group":"WalletGuide Wallets","pages":[{"title":"Wallets","href":"/walletguide/wallets/wallet-list"}]},{"title":"Explorer API","href":"/walletguide/explorer"}]},{"group":"Production","pages":[{"sidebarTitle":"Best Practices","title":"Best Practices for Wallets","href":"/wallet-sdk/best-practices"}]},{"group":"Upgrade","pages":[{"title":"Staying up to date","href":"/wallet-sdk/upgrade/staying-up-to-date"},{"group":"Web3Wallet to Wallet SDK","pages":[{"title":"Upgrade from Web3Wallet to Reown WalletKit","sidebarTitle":"Overview","href":"/wallet-sdk/upgrade/from-web3wallet-to-reown"},{"title":"Upgrade from Web3Wallet to WalletKit for Web","sidebarTitle":"WalletKit - Web","href":"/wallet-sdk/upgrade/from-web3wallet-web"},{"title":"Upgrade from Web3Wallet to WalletKit for React Native","sidebarTitle":"WalletKit - React Native","href":"/wallet-sdk/upgrade/from-web3wallet-react-native"},{"title":"Upgrade from Web3Wallet to WalletKit for Flutter","sidebarTitle":"WalletKit - Flutter","href":"/wallet-sdk/upgrade/from-web3wallet-flutter"},{"title":"Upgrade from Web3Wallet to WalletKit for Android","sidebarTitle":"WalletKit - Android","href":"/wallet-sdk/upgrade/from-web3wallet-android"},{"title":"Upgrade from Web3Wallet to WalletKit for iOS","sidebarTitle":"WalletKit - iOS","href":"/wallet-sdk/upgrade/from-web3wallet-ios"},{"title":"Upgrade from Web3Wallet to WalletKit for .NET","sidebarTitle":"WalletKit - Unity","href":"/wallet-sdk/upgrade/from-web3wallet-unity"}]}]},{"group":"Custodians and Institutions","pages":[{"title":"WalletConnect for Custodians and Institutions","href":"/custodians/overview"},{"title":"How to Control Which Apps Can Connect to Your Users’ Wallets","sidebarTitle":"Managing Dapp Access","href":"/custodians/app-access-control"},{"title":"How to Control Which Smart Contracts Your Users Can Interact With","sidebarTitle":"Managing Smart Contract Access","href":"/custodians/contract-access-control"},{"title":"Extended WalletConnect Sessions Request","href":"/custodians/extended-sessions"}]}]},{"dropdown":"Web","icon":"js","description":"Wallet SDK on Web","pages":[{"title":"Installation","href":"/wallet-sdk/web/installation"},{"title":"Usage","href":"/wallet-sdk/web/usage"},{"title":"One-click Auth","href":"/wallet-sdk/web/one-click-auth"},{"title":"Verify API","href":"/wallet-sdk/web/verify"},{"title":"Wallet Call API","href":"/wallet-sdk/web/eip5792"},{"title":"Chain Abstraction","href":"/wallet-sdk/web/chain-abstraction"},{"title":"Best Practices","href":"/wallet-sdk/web/best-practices"},{"title":"Resources","href":"/wallet-sdk/web/resources"},{"group":"Cloud","pages":[{"title":"Explorer Submission","href":"/wallet-sdk/web/cloud/explorer-submission"},{"title":"Relay","href":"/wallet-sdk/web/cloud/relay"},{"title":"Analytics","href":"/wallet-sdk/web/cloud/analytics"}]}]},{"dropdown":"Android","icon":"android","description":"Wallet SDK on Android","pages":[{"group":"Core","pages":[{"title":"Installation","href":"/wallet-sdk/android/installation"},{"title":"Usage","href":"/wallet-sdk/android/usage"},{"title":"One-click Auth","href":"/wallet-sdk/android/one-click-auth"},{"title":"Mobile Linking","href":"/wallet-sdk/android/mobile-linking"},{"title":"Link Mode","href":"/wallet-sdk/android/link-mode"},{"title":"Verify API","href":"/wallet-sdk/android/verify"},{"title":"Wallet Call API","href":"/wallet-sdk/android/eip5792"},{"title":"Chain Abstraction","href":"/wallet-sdk/android/chain-abstraction"},{"title":"Best Practices","href":"/wallet-sdk/android/best-practices"},{"title":"Resources","href":"/wallet-sdk/android/resources"}]},{"group":"Cloud","pages":[{"title":"Explorer Submission","href":"/wallet-sdk/android/cloud/explorer-submission"},{"title":"Relay","href":"/wallet-sdk/android/cloud/relay"},{"title":"Analytics","href":"/wallet-sdk/android/cloud/analytics"}]}]},{"dropdown":"iOS","icon":"apple","description":"Wallet SDK on iOS","pages":[{"group":"Core","pages":[{"title":"Installation","href":"/wallet-sdk/ios/installation"},{"title":"Usage","href":"/wallet-sdk/ios/usage"},{"title":"One-click Auth","href":"/wallet-sdk/ios/one-click-auth"},{"title":"Mobile Linking","href":"/wallet-sdk/ios/mobile-linking"},{"title":"Link Mode","href":"/wallet-sdk/ios/link-mode"},{"title":"Verify API","href":"/wallet-sdk/ios/verify"},{"title":"Wallet Call API","href":"/wallet-sdk/ios/eip5792"},{"title":"Chain Abstraction","href":"/wallet-sdk/ios/chain-abstraction"},{"title":"Best Practices","href":"/wallet-sdk/ios/best-practices"},{"title":"Resources","href":"/wallet-sdk/ios/resources"}]},{"group":"Cloud","pages":[{"title":"Explorer Submission","href":"/wallet-sdk/ios/cloud/explorer-submission"},{"title":"Relay","href":"/wallet-sdk/ios/cloud/relay"},{"title":"Analytics","href":"/wallet-sdk/ios/cloud/analytics"}]}]},{"dropdown":"Flutter","icon":"flutter","description":"Wallet SDK on Flutter","pages":[{"title":"Installation","href":"/wallet-sdk/flutter/installation"},{"title":"Usage","href":"/wallet-sdk/flutter/usage"},{"title":"One-click Auth","href":"/wallet-sdk/flutter/one-click-auth"},{"title":"Mobile Linking","href":"/wallet-sdk/flutter/mobile-linking"},{"title":"Link Mode","href":"/wallet-sdk/flutter/link-mode"},{"title":"Verify API","href":"/wallet-sdk/flutter/verify"},{"title":"Wallet Call API","href":"/wallet-sdk/flutter/eip5792"},{"title":"Chain Abstraction","href":"/wallet-sdk/flutter/chain-abstraction"},{"group":"Cloud","pages":[{"title":"Explorer Submission","href":"/wallet-sdk/flutter/cloud/explorer-submission"},{"title":"Relay","href":"/wallet-sdk/flutter/cloud/relay"},{"title":"Analytics","href":"/wallet-sdk/flutter/cloud/analytics"}]}]},{"dropdown":"React Native","icon":"mobile-screen-button","description":"Wallet SDK on React Native","pages":[{"group":"Core","pages":[{"title":"Installation","href":"/wallet-sdk/react-native/installation"},{"title":"Usage","href":"/wallet-sdk/react-native/usage"},{"title":"One-click Auth","href":"/wallet-sdk/react-native/one-click-auth"},{"title":"Mobile Linking","href":"/wallet-sdk/react-native/mobile-linking"},{"title":"Link Mode","href":"/wallet-sdk/react-native/link-mode"},{"title":"Verify API","href":"/wallet-sdk/react-native/verify"},{"title":"Wallet Call API","href":"/wallet-sdk/react-native/eip5792"},{"title":"Chain Abstraction","href":"/wallet-sdk/react-native/chain-abstraction"},{"title":"Best Practices","href":"/wallet-sdk/react-native/best-practices"},{"title":"Resources","href":"/wallet-sdk/react-native/resources"}]},{"group":"Cloud","pages":[{"title":"Explorer Submission","href":"/wallet-sdk/react-native/cloud/explorer-submission"},{"title":"Relay","href":"/wallet-sdk/react-native/cloud/relay"},{"title":"Analytics","href":"/wallet-sdk/react-native/cloud/analytics"}]}]},{"dropdown":".NET","icon":"code","description":"Wallet SDK on .NET","pages":[{"title":"Installation","href":"/wallet-sdk/c-sharp/installation"},{"title":"Usage","href":"/wallet-sdk/c-sharp/usage"},{"title":"Verify API","href":"/wallet-sdk/c-sharp/verify"},{"group":"Cloud","pages":[{"title":"Explorer Submission","href":"/wallet-sdk/c-sharp/cloud/explorer-submission"},{"title":"Relay","href":"/wallet-sdk/c-sharp/cloud/relay"},{"title":"Analytics","href":"/wallet-sdk/c-sharp/cloud/analytics"}]}]}]},{"tab":"Apps","icon":"layer-group","pages":[{"title":"Apps","href":"/app-sdk/overview"}]},{"tab":"Network","icon":"globe","pages":[{"title":"Network","href":"/overview"}]}]},"basePath":"","title":"Sui - WalletConnect Docs","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":[],"chunks":[]}