Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.
On ThorNode
Send over the complete wss:// URL copied from the dashboard. Each active subscription counts toward the per-token cap; over the cap the request is answered with -32005 subscription limit exceeded and not forwarded. Frames pass through unchanged.
Parameters
array
required
Hide properties
string
required
Account Pubkey, as base-58 encoded string.
string
Encoding format for account data. Can be base58, base64, base64+zstd, or jsonParsed.
base58 is slow
jsonParsed encoding attempts to use program-specific state parsers to return more human-readable and explicit account state data
If jsonParsed is requested but a parser cannot be found, the field falls back to binary encoding, detectable when the data field is type string.
string
The commitment level for the subscription. Can be finalized, confirmed, or processed.
string
deprecated
Deprecated — no-op as of Agave 4.2. Setting notifyOn has no effect. The field will be removed at a later date.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ThorNode Developer Docs","description":"Query Solana, stream transactions, receive raw shreds, and integrate transaction routes with ThorNode.","colors":{"primary":"#92400E","light":"#FBB03B","dark":"#D97706"},"logo":{"light":"https://mintcdn.com/thorlabs/JXYp6iVDU0i-LwJo/logo/thornode-blue-light.svg?fit=max\u0026auto=format\u0026n=JXYp6iVDU0i-LwJo\u0026q=85\u0026s=6b242bc07dee7bf26da468a17d826caf","dark":"https://mintcdn.com/thorlabs/JXYp6iVDU0i-LwJo/logo/thornode-blue-dark.svg?fit=max\u0026auto=format\u0026n=JXYp6iVDU0i-LwJo\u0026q=85\u0026s=5eadc34c0bb6bc0334110d7849018dae"},"favicon":"https://mintcdn.com/thorlabs/JXYp6iVDU0i-LwJo/logo/thornode-blue-icon.svg?fit=max\u0026auto=format\u0026n=JXYp6iVDU0i-LwJo\u0026q=85\u0026s=663b957562b9f5aa08cec612d860c8fa","navbar":{"links":[{"href":"mailto:support@thornode.io","label":"Support"}],"primary":{"type":"button","label":"Start building","href":"https://www.thornode.io"}},"footer":{"socials":{"x":"https://x.com/thor_labs","github":"https://github.com/thorlabsDev","discord":"https://discord.gg/thorlabs"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thorlabsDev"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/thorlabs"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thorlabs","hasAudioNarration":false,"actualSubdomain":"thorlabs","customDomains":["docs.thornode.io"],"gitSource":{"type":"github","owner":"thorlabsdev","repo":"thorlabs-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af096e7d37cca207de60400","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API reference","count":92},{"language":"default","tag":"ThorEdge RPC","count":60},{"language":"default","tag":"HTTP methods","count":41},{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"WebSocket methods","count":18},{"language":"default","tag":"FastGate RPC","count":16},{"language":"default","tag":"Hofund","count":10},{"language":"default","tag":"Bifrost","count":6},{"language":"default","tag":"Dashboard","count":6},{"language":"default","tag":"Get started","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/thoredge-rpc/websocket/accountsubscribe","slug":"/api-reference/thoredge-rpc/websocket/accountsubscribe","pageMetadata":{"title":"accountSubscribe","description":"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.","href":"/api-reference/thoredge-rpc/websocket/accountsubscribe"},"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: \"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.\"\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={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.`}),`\n`,_jsx(Heading,{level:`2`,id:`on-thornode`,children:`On ThorNode`}),`\n`,_jsxs(_components.p,{children:[`Send over the complete `,_jsx(_components.code,{children:`wss://`}),` URL copied from the dashboard. Each active subscription counts toward the per-token cap; over the cap the request is answered with `,_jsx(_components.code,{children:`-32005 subscription limit exceeded`}),` and not forwarded. Frames pass through unchanged.`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ParamField,{body:`params`,type:`array`,required:true,id:`param-params`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ParamField,{body:`pubkey`,type:`string`,required:true,id:`param-pubkey`,children:_jsx(_components.p,{children:`Account Pubkey, as base-58 encoded string.`})}),_jsxs(ParamField,{body:`encoding`,type:`string`,id:`param-encoding`,children:[_jsxs(_components.p,{children:[`Encoding format for account data. Can be `,_jsx(_components.code,{children:`base58`}),`, `,_jsx(_components.code,{children:`base64`}),`, `,_jsx(_components.code,{children:`base64+zstd`}),`, or `,_jsx(_components.code,{children:`jsonParsed`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`base58`}),` is slow`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`jsonParsed`}),` encoding attempts to use program-specific state parsers to return more human-readable and explicit account state data`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`jsonParsed`}),` is requested but a parser cannot be found, the field falls back to binary encoding, detectable when the data field is type string.`]}),`\n`]})]}),_jsx(ParamField,{body:`commitment`,type:`string`,id:`param-commitment`,children:_jsxs(_components.p,{children:[`The commitment level for the subscription. Can be `,_jsx(_components.code,{children:`finalized`}),`, `,_jsx(_components.code,{children:`confirmed`}),`, or `,_jsx(_components.code,{children:`processed`}),`.`]})}),_jsx(ParamField,{body:`notifyOn`,type:`string`,deprecated:true,id:`param-notify-on`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated — no-op as of Agave 4.2.`}),` Setting `,_jsx(_components.code,{children:`notifyOn`}),` has no effect. The field will be removed at a later date.`]})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`result`,type:`integer`,id:`param-result`,children:_jsx(_components.p,{children:`Subscription id (needed to unsubscribe)`})})]})}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":"accountSubscribe","description":"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.","href":"/api-reference/thoredge-rpc/websocket/accountsubscribe"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.`}),`\n`,_jsx(Heading,{level:`2`,id:`on-thornode`,children:`On ThorNode`}),`\n`,_jsxs(_components.p,{children:[`Send over the complete `,_jsx(_components.code,{children:`wss://`}),` URL copied from the dashboard. Each active subscription counts toward the per-token cap; over the cap the request is answered with `,_jsx(_components.code,{children:`-32005 subscription limit exceeded`}),` and not forwarded. Frames pass through unchanged.`]}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ParamField,{body:`params`,type:`array`,required:true,id:`param-params`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ParamField,{body:`pubkey`,type:`string`,required:true,id:`param-pubkey`,children:_jsx(_components.p,{children:`Account Pubkey, as base-58 encoded string.`})}),_jsxs(ParamField,{body:`encoding`,type:`string`,id:`param-encoding`,children:[_jsxs(_components.p,{children:[`Encoding format for account data. Can be `,_jsx(_components.code,{children:`base58`}),`, `,_jsx(_components.code,{children:`base64`}),`, `,_jsx(_components.code,{children:`base64+zstd`}),`, or `,_jsx(_components.code,{children:`jsonParsed`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`base58`}),` is slow`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`jsonParsed`}),` encoding attempts to use program-specific state parsers to return more human-readable and explicit account state data`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`jsonParsed`}),` is requested but a parser cannot be found, the field falls back to binary encoding, detectable when the data field is type string.`]}),`\n`]})]}),_jsx(ParamField,{body:`commitment`,type:`string`,id:`param-commitment`,children:_jsxs(_components.p,{children:[`The commitment level for the subscription. Can be `,_jsx(_components.code,{children:`finalized`}),`, `,_jsx(_components.code,{children:`confirmed`}),`, or `,_jsx(_components.code,{children:`processed`}),`.`]})}),_jsx(ParamField,{body:`notifyOn`,type:`string`,deprecated:true,id:`param-notify-on`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated — no-op as of Agave 4.2.`}),` Setting `,_jsx(_components.code,{children:`notifyOn`}),` has no effect. The field will be removed at a later date.`]})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`result`,type:`integer`,id:`param-result`,children:_jsx(_components.p,{children:`Subscription id (needed to unsubscribe)`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request`,numberOfLines:`12`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},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:`#116329`,\"--shiki-dark\":`#9CDCFE`},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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"accountSubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},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:` \"SysvarC1ock11111111111111111111111111111111\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"encoding\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jsonParsed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"commitment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processed\"`})]}),`\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`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Response`,numberOfLines:`5`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3085`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},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`]})})}),_jsx(CodeBlock,{filename:`Notification`,numberOfLines:`33`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`33`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"accountNotification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`439749547`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lamports\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1169280`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"program\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sysvar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parsed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"info\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"epoch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1017`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"epochStartTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786759601`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"leaderScheduleEpoch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1018`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`439749547`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unixTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786928216`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"clock\"`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"space\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"owner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sysvar1111111111111111111111111111111111111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"executable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rentEpoch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18446744073709552000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"space\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3085`})]}),`\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`]})})})]})]})}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":"accountSubscribe","description":"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.","href":"/api-reference/thoredge-rpc/websocket/accountsubscribe"}}}},"mdxExtracts":{"tableOfContents":[{"title":"On ThorNode","slug":"on-thornode","depth":2,"children":[]},{"title":"Parameters","slug":"parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"jsonrpc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"method\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"accountSubscribe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"params\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"SysvarC1ock11111111111111111111111111111111\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"encoding\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jsonParsed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"commitment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"processed\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"jsonrpc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3085\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Notification","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"33\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"jsonrpc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"method\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"accountNotification\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"params\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"context\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"slot\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">439749547\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lamports\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1169280\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"program\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"sysvar\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"parsed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"info\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"epoch\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1017\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"epochStartTimestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1786759601\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"leaderScheduleEpoch\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1018\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"slot\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">439749547\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"unixTimestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1786928216\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"clock\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"space\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">40\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"owner\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Sysvar1111111111111111111111111111111111111\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"executable\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rentEpoch\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">18446744073709552000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"space\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">40\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subscription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3085\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"thorlabs","siteName":"ThorNode Developer Docs","title":"accountSubscribe - ThorNode Developer Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-17T01:04:46.324Z","originalFileLocation":"api-reference/thoredge-rpc/websocket/accountsubscribe.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=\"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ThorNode Developer 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/thorlabs/QC-8_nXSHvxI5Fu6/_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/thorlabs/QC-8_nXSHvxI5Fu6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thorlabs/QC-8_nXSHvxI5Fu6/_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/thorlabs/QC-8_nXSHvxI5Fu6/_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/thorlabs/QC-8_nXSHvxI5Fu6/_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/thorlabs/QC-8_nXSHvxI5Fu6/_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/thorlabs/QC-8_nXSHvxI5Fu6/_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/thorlabs/QC-8_nXSHvxI5Fu6/_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/thorlabs/QC-8_nXSHvxI5Fu6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"accountSubscribe - ThorNode Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ThorNode Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thorlabs.mintlify.site/_mintlify/api/og/v2?division=WebSocket+methods\u0026amp;title=accountSubscribe\u0026amp;description=Subscribe+to+an+account+to+receive+notifications+when+the+lamports+or+data+for+a+given+account+public+key+changes.\u0026amp;theme=f067c9e958c3ad94c9b8a198\u0026amp;signature=bcee00b32df0064464fb783039ad31ced685ef3555a388ef3e6f16cf164ec461\">\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=\"accountSubscribe - ThorNode Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thorlabs.mintlify.site/_mintlify/api/og/v2?division=WebSocket+methods\u0026amp;title=accountSubscribe\u0026amp;description=Subscribe+to+an+account+to+receive+notifications+when+the+lamports+or+data+for+a+given+account+public+key+changes.\u0026amp;theme=f067c9e958c3ad94c9b8a198\u0026amp;signature=bcee00b32df0064464fb783039ad31ced685ef3555a388ef3e6f16cf164ec461\">\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/thorlabs/QC-8_nXSHvxI5Fu6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ThorNode Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#92400E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/thoredge-rpc/websocket/accountsubscribe.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.thornode.io/#organization\",\"name\":\"ThorNode Developer Docs\",\"url\":\"https://docs.thornode.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thorlabs/JXYp6iVDU0i-LwJo/logo/thornode-blue-light.svg?fit=max\u0026auto=format\u0026n=JXYp6iVDU0i-LwJo\u0026q=85\u0026s=6b242bc07dee7bf26da468a17d826caf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.thornode.io#website\",\"name\":\"ThorNode Developer Docs\",\"url\":\"https://docs.thornode.io\",\"publisher\":{\"@id\":\"https://docs.thornode.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe#webpage\",\"url\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe\",\"name\":\"accountSubscribe\",\"description\":\"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.\",\"dateModified\":\"2026-08-17T01:04:46.324Z\",\"isPartOf\":{\"@id\":\"https://docs.thornode.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ThorEdge RPC\",\"item\":\"https://docs.thornode.io/api-reference/thoredge-rpc/http/getblock\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WebSocket methods\",\"item\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket-methods\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"accountSubscribe\",\"item\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe#article\",\"headline\":\"accountSubscribe\",\"name\":\"accountSubscribe\",\"description\":\"Subscribe to an account to receive notifications when the lamports or data for a given account public key changes.\",\"url\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe\",\"mainEntityOfPage\":{\"@id\":\"https://docs.thornode.io/api-reference/thoredge-rpc/websocket/accountsubscribe#webpage\"},\"dateModified\":\"2026-08-17T01:04:46.324Z\",\"publisher\":{\"@id\":\"https://docs.thornode.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.thornode.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ThorNode Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ThorNode Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/thoredge-rpc/websocket/accountsubscribe.md","siteName":"ThorNode Developer Docs","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thorlabsDev"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/thorlabs"}]},"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","icon":"code","groups":[{"group":"API reference","icon":"book","pages":[{"title":"API reference overview","sidebarTitle":"Overview","href":"/api-reference/overview"}]},{"group":"ThorEdge RPC","icon":"code","pages":[{"group":"HTTP methods","root":{"title":"ThorEdge HTTP methods","sidebarTitle":"HTTP methods","href":"/api-reference/thoredge-rpc/http-methods"},"pages":[{"title":"getBlock","href":"/api-reference/thoredge-rpc/http/getblock"},{"title":"getBlockCommitment","href":"/api-reference/thoredge-rpc/http/getblockcommitment"},{"title":"getBlockHeight","href":"/api-reference/thoredge-rpc/http/getblockheight"},{"title":"getBlockProduction","href":"/api-reference/thoredge-rpc/http/getblockproduction"},{"title":"getBlocks","href":"/api-reference/thoredge-rpc/http/getblocks"},{"title":"getBlocksWithLimit","href":"/api-reference/thoredge-rpc/http/getblockswithlimit"},{"title":"getBlockTime","href":"/api-reference/thoredge-rpc/http/getblocktime"},{"title":"getClusterNodes","href":"/api-reference/thoredge-rpc/http/getclusternodes"},{"title":"getEpochInfo","href":"/api-reference/thoredge-rpc/http/getepochinfo"},{"title":"getEpochSchedule","href":"/api-reference/thoredge-rpc/http/getepochschedule"},{"title":"getFeeForMessage","href":"/api-reference/thoredge-rpc/http/getfeeformessage"},{"title":"getFirstAvailableBlock","href":"/api-reference/thoredge-rpc/http/getfirstavailableblock"},{"title":"getGenesisHash","href":"/api-reference/thoredge-rpc/http/getgenesishash"},{"title":"getHealth","href":"/api-reference/thoredge-rpc/http/gethealth"},{"title":"getHighestSnapshotSlot","href":"/api-reference/thoredge-rpc/http/gethighestsnapshotslot"},{"title":"getIdentity","href":"/api-reference/thoredge-rpc/http/getidentity"},{"title":"getInflationGovernor","href":"/api-reference/thoredge-rpc/http/getinflationgovernor"},{"title":"getInflationRate","href":"/api-reference/thoredge-rpc/http/getinflationrate"},{"title":"getInflationReward","href":"/api-reference/thoredge-rpc/http/getinflationreward"},{"title":"getLatestBlockhash","href":"/api-reference/thoredge-rpc/http/getlatestblockhash"},{"title":"getLeaderSchedule","href":"/api-reference/thoredge-rpc/http/getleaderschedule"},{"title":"getMaxRetransmitSlot","href":"/api-reference/thoredge-rpc/http/getmaxretransmitslot"},{"title":"getMaxShredInsertSlot","href":"/api-reference/thoredge-rpc/http/getmaxshredinsertslot"},{"title":"getRecentPerformanceSamples","href":"/api-reference/thoredge-rpc/http/getrecentperformancesamples"},{"title":"getRecentPrioritizationFees","href":"/api-reference/thoredge-rpc/http/getrecentprioritizationfees"},{"title":"getSignaturesForAddress","href":"/api-reference/thoredge-rpc/http/getsignaturesforaddress"},{"title":"getSignatureStatuses","href":"/api-reference/thoredge-rpc/http/getsignaturestatuses"},{"title":"getSlot","href":"/api-reference/thoredge-rpc/http/getslot"},{"title":"getSlotLeader","href":"/api-reference/thoredge-rpc/http/getslotleader"},{"title":"getSlotLeaders","href":"/api-reference/thoredge-rpc/http/getslotleaders"},{"title":"getStakeMinimumDelegation","href":"/api-reference/thoredge-rpc/http/getstakeminimumdelegation"},{"title":"getSupply","href":"/api-reference/thoredge-rpc/http/getsupply"},{"title":"getTransaction","href":"/api-reference/thoredge-rpc/http/gettransaction"},{"title":"getTransactionCount","href":"/api-reference/thoredge-rpc/http/gettransactioncount"},{"title":"getVersion","href":"/api-reference/thoredge-rpc/http/getversion"},{"title":"getVoteAccounts","href":"/api-reference/thoredge-rpc/http/getvoteaccounts"},{"title":"isBlockhashValid","href":"/api-reference/thoredge-rpc/http/isblockhashvalid"},{"title":"minimumLedgerSlot","href":"/api-reference/thoredge-rpc/http/minimumledgerslot"},{"title":"requestAirdrop","href":"/api-reference/thoredge-rpc/http/requestairdrop"},{"title":"sendTransaction","href":"/api-reference/thoredge-rpc/http/sendtransaction"},{"title":"simulateTransaction","href":"/api-reference/thoredge-rpc/http/simulatetransaction"}]},{"group":"WebSocket methods","root":{"title":"ThorEdge WebSocket methods","sidebarTitle":"WebSocket methods","description":"Solana subscription methods over the ThorEdge WSS URL, the per-token subscription cap, and what a rejected subscribe looks like.","href":"/api-reference/thoredge-rpc/websocket-methods"},"pages":[{"title":"accountSubscribe","href":"/api-reference/thoredge-rpc/websocket/accountsubscribe"},{"title":"accountUnsubscribe","description":"Unsubscribe from account change notifications.","href":"/api-reference/thoredge-rpc/websocket/accountunsubscribe"},{"title":"blockSubscribe","href":"/api-reference/thoredge-rpc/websocket/blocksubscribe"},{"title":"blockUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/blockunsubscribe"},{"title":"logsSubscribe","href":"/api-reference/thoredge-rpc/websocket/logssubscribe"},{"title":"logsUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/logsunsubscribe"},{"title":"programSubscribe","href":"/api-reference/thoredge-rpc/websocket/programsubscribe"},{"title":"programUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/programunsubscribe"},{"title":"rootSubscribe","href":"/api-reference/thoredge-rpc/websocket/rootsubscribe"},{"title":"rootUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/rootunsubscribe"},{"title":"signatureSubscribe","href":"/api-reference/thoredge-rpc/websocket/signaturesubscribe"},{"title":"signatureUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/signatureunsubscribe"},{"title":"slotSubscribe","href":"/api-reference/thoredge-rpc/websocket/slotsubscribe"},{"title":"slotsUpdatesSubscribe","href":"/api-reference/thoredge-rpc/websocket/slotsupdatessubscribe"},{"title":"slotsUpdatesUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/slotsupdatesunsubscribe"},{"title":"slotUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/slotunsubscribe"},{"title":"voteSubscribe","href":"/api-reference/thoredge-rpc/websocket/votesubscribe"},{"title":"voteUnsubscribe","href":"/api-reference/thoredge-rpc/websocket/voteunsubscribe"}]}]},{"group":"FastGate RPC","icon":"database","pages":[{"title":"FastGate RPC methods","sidebarTitle":"Overview","href":"/api-reference/fastgate/overview"},{"title":"getAccountInfo","href":"/api-reference/fastgate/getaccountinfo"},{"title":"getMultipleAccounts","href":"/api-reference/fastgate/getmultipleaccounts"},{"title":"getBalance","href":"/api-reference/fastgate/getbalance"},{"title":"getTokenAccountBalance","href":"/api-reference/fastgate/gettokenaccountbalance"},{"title":"getTokenSupply","href":"/api-reference/fastgate/gettokensupply"},{"title":"getLargestAccounts","href":"/api-reference/fastgate/getlargestaccounts"},{"title":"getMinimumBalanceForRentExemption","href":"/api-reference/fastgate/getminimumbalanceforrentexemption"},{"title":"getTokenLargestAccounts","href":"/api-reference/fastgate/gettokenlargestaccounts"},{"title":"getProgramAccounts","href":"/api-reference/fastgate/getprogramaccounts"},{"title":"getTokenAccountsByOwner","href":"/api-reference/fastgate/gettokenaccountsbyowner"},{"title":"getTokenAccountsByDelegate","href":"/api-reference/fastgate/gettokenaccountsbydelegate"},{"title":"getProgramAccountsV2","href":"/api-reference/fastgate/getprogramaccountsv2"},{"title":"getTokenAccountsByOwnerV2","href":"/api-reference/fastgate/gettokenaccountsbyownerv2"},{"title":"getTokenAccountsByDelegateV2","href":"/api-reference/fastgate/gettokenaccountsbydelegatev2"}]},{"group":"Yellowstone gRPC","icon":"wave-pulse","pages":[{"title":"Yellowstone Subscribe","sidebarTitle":"Subscribe","href":"/api-reference/yellowstone/subscribe"}]},{"group":"Bifrost","icon":"route","pages":[{"title":"Bifrost routes","sidebarTitle":"Overview","href":"/api-reference/bifrost/overview"},{"title":"Apex routes","sidebarTitle":"Apex","href":"/api-reference/bifrost/apex"},{"title":"bloXroute routes","sidebarTitle":"bloXroute","href":"/api-reference/bifrost/bloxroute"},{"title":"Astralane routes","sidebarTitle":"Astralane","href":"/api-reference/bifrost/astralane"},{"title":"BlockRazor route","sidebarTitle":"BlockRazor","href":"/api-reference/bifrost/blockrazor"},{"title":"LunarLander routes","sidebarTitle":"LunarLander","href":"/api-reference/bifrost/lunarlander"}]},{"group":"Hofund","icon":"satellite-dish","pages":[{"title":"Hofund reference","sidebarTitle":"Overview","href":"/api-reference/hofund/overview"},{"title":"Rate limits","href":"/api-reference/hofund/rate-limits"},{"title":"sendTransaction","href":"/api-reference/hofund/sendtransaction"},{"title":"sendBatch","href":"/api-reference/hofund/sendbatch"},{"title":"sendBundle","href":"/api-reference/hofund/sendbundle"},{"title":"sendIdeal and getNonce","href":"/api-reference/hofund/sendideal"},{"title":"Status and tip configuration","href":"/api-reference/hofund/status-and-tips"},{"title":"Plain, binary, and WebSocket","href":"/api-reference/hofund/plain-binary-websocket"},{"title":"QUIC","href":"/api-reference/hofund/quic"}]}]}]},"basePath":"","title":"accountSubscribe - ThorNode Developer Docs","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["2b790eda92"],"chunks":["ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","utils-CRXL1dwr.js","utils-XnMGX2lF.js","isEqual-Cx5TQjMc.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","snippetPresets-CkhhQaIQ.js","style-to-object-BY3JEAdk.js","use-playground-group-access-DyQ_1IIe.js","cloneDeep-DYtgUc7n.js","v4-DIgz8zy6.js"]}