Parameters for querying token accounts owned by a specific public key.
Option 1 · string
Option 2 · object
Option 3 · object
Solana wallet address (pubkey) of the account owner to query token holdings for, as a base-58 encoded string.
示例:
"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd"
响应
Successfully retrieved token accounts by owner.
jsonrpc
enum<string>
The JSON-RPC protocol version.
可用选项:
2.0
示例:
"2.0"
id
string
Identifier matching the request.
示例:
"1"
result
object
Context and account details.
Show child attributes
此页面对您有帮助吗?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Solana Tracker","colors":{"primary":"#222","light":"#fafafa","dark":"#fff"},"logo":{"light":"https://mintcdn.com/solanatracker/tbRGxreenJeMeUiS/logo/light.png?fit=max\u0026auto=format\u0026n=tbRGxreenJeMeUiS\u0026q=85\u0026s=6de175e4a3183972f09414aef7c09e03","dark":"https://mintcdn.com/solanatracker/tbRGxreenJeMeUiS/logo/dark.png?fit=max\u0026auto=format\u0026n=tbRGxreenJeMeUiS\u0026q=85\u0026s=f0e85b8285a592294510eddfdc897951"},"favicon":"https://mintcdn.com/solanatracker/L_Q6q-7aVovpQheP/favicon.ico?fit=max\u0026auto=format\u0026n=L_Q6q-7aVovpQheP\u0026q=85\u0026s=7bf5f9749399d6d8bbc9c072bd984dee","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#fafafa","dark":"#050505"}},"navbar":{"links":[{"href":"mailto:contact@solanatracker.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.solanatracker.io/account"}},"footer":{"socials":{"x":"https://x.com/solanatrackr","github":"https://github.com/solanatracker","discord":"https://discord.gg/JH2e9rR9fc","website":"https://www.solanatracker.io"},"links":[{"header":"Products","items":[{"label":"Data API","href":"https://www.solanatracker.io/data-api"},{"label":"Solana RPC","href":"https://www.solanatracker.io/solana-rpc"},{"label":"Yellowstone gRPC","href":"https://www.solanatracker.io/yellowstone-grpc"},{"label":"Dedicated Nodes","href":"https://www.solanatracker.io/dedicated-nodes"}]}]},"search":{"prompt":"Search docs..."},"seo":{"metatags":{"robots":"index, follow, max-image-preview:large, max-snippet:-1","twitter:site":"@solanatrackr"},"organization":{"name":"Solana Tracker","url":"https://www.solanatracker.io","logo":"https://docs.solanatracker.io/logo/light.png","sameAs":["https://www.solanatracker.io","https://x.com/solanatrackr","https://github.com/solanatracker","https://discord.gg/JH2e9rR9fc"]},"indexing":"all"},"fonts":{"family":"Geist","source":"fonts/Geist-Variable.woff2","format":"woff2"},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-6Y3G67KM1H"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"API Status","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/signal.svg","href":"https://status.solanatracker.io"},{"anchor":"SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/npm.svg","href":"https://www.npmjs.com/package/@solana-tracker/data-api"},{"anchor":"Discord","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/discord.svg","href":"https://discord.gg/JH2e9rR9fc"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"cn","href":"cn"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"solanatracker","hasAudioNarration":false,"actualSubdomain":"solanatracker","customDomains":["docs.solanatracker.io"],"gitSource":{"type":"github","owner":"yzylab","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10bed89ffae5051c4042cc"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b12af934817ede4aeade185","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"en","tag":"Solana RPC","count":118},{"language":"cn","tag":"Solana RPC","count":118},{"language":"es","tag":"Solana RPC","count":118},{"language":"en","tag":"Data API","count":98},{"language":"en","tag":"Datastream","count":93},{"language":"cn","tag":"Data API","count":93},{"language":"es","tag":"Data API","count":93},{"language":"cn","tag":"Datastream","count":87},{"language":"es","tag":"Datastream","count":87},{"language":"en","tag":"API Reference","count":73},{"language":"cn","tag":"API Reference","count":73},{"language":"es","tag":"API Reference","count":73},{"language":"en","tag":"Prediction Markets","count":61},{"language":"cn","tag":"Prediction Markets","count":61},{"language":"es","tag":"Prediction Markets","count":61},{"language":"en","tag":"Endpoints","count":53},{"language":"cn","tag":"Endpoints","count":53},{"language":"es","tag":"Endpoints","count":53},{"language":"en","tag":"Guides","count":37},{"language":"cn","tag":"指南","count":37},{"language":"es","tag":"Guías","count":37},{"language":"en","tag":"Markets","count":24},{"language":"cn","tag":"Markets","count":24},{"language":"es","tag":"Markets","count":24},{"language":"en","tag":"PnL V2","count":22},{"language":"en","tag":"Network","count":22},{"language":"cn","tag":"PnL V2","count":22},{"language":"cn","tag":"网络","count":22},{"language":"es","tag":"PnL V2","count":22},{"language":"es","tag":"Red","count":22}],"searchSettings":{"showContentSnippets":true,"maxResults":7}},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"contact@solanatracker.io"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/solanatracker/f4b18e6ac96dfbbc/style.css"},{"filePath":"hugeicons.css","href":"/_mintlify/custom/solanatracker/c65a324477e535da/hugeicons.css"},{"filePath":"release-badges.css","content":"#navigation-items a:is([href$=\"/data-api/trades/get-token-trades\"],[href$=\"/data-api/trades/get-pool-specific-trades\"],[href$=\"/data-api/trades/get-user-specific-token-trades\"],[href$=\"/data-api/trades/get-user-specific-pool-trades\"],[href$=\"/data-api/wallet/get-wallet-trades\"]){--release-label: \"UPDATED\";--release-ink: #1d4ed8;--release-fill: #e8efff}#navigation-items a:is([href$=\"/data-api/trades/get-token-trades\"],[href$=\"/data-api/trades/get-pool-specific-trades\"],[href$=\"/data-api/trades/get-user-specific-token-trades\"],[href$=\"/data-api/trades/get-user-specific-pool-trades\"],[href$=\"/data-api/wallet/get-wallet-trades\"])::after{content:var(--release-label);margin-inline-start:auto;flex-shrink:0;align-self:center;padding:2px 5px;border-radius:5px;background:var(--release-fill);color:var(--release-ink);font:600 9px/1.4 var(--st-font);letter-spacing:.035em}.dark #navigation-items a{--release-ink: #86efac;--release-fill: #123025}.dark #navigation-items a:is([href*=\"/data-api/trades/\"],[href$=\"/data-api/wallet/get-wallet-trades\"]){--release-ink: #93c5fd;--release-fill: #172b49}#navigation-items [data-nav-tag=\"NEW\"]{background:#e3f4eb;color:#066345;font:600 9px/1.4 var(--st-font);padding:2px 5px;border-radius:5px;letter-spacing:.035em}.dark #navigation-items [data-nav-tag=\"NEW\"]{background:#123025;color:#86efac}"}]}
{"page":{"pagePath":"cn/solana-rpc/http/gettokenaccountsbyowner","slug":"/cn/solana-rpc/http/gettokenaccountsbyowner","pageMetadata":{"title":"getTokenAccountsByOwner RPC 方法","openapi":"gettokenaccountsbyowner post /","description":"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。","sidebarTitle":"getTokenAccountsByOwner","href":"/cn/solana-rpc/http/gettokenaccountsbyowner"},"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: \"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。\"\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`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Warning}=_components;if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`只想跟踪新增代币?用 `,_jsx(_components.code,{children:`changedSince`}),` 获取某个 slot 之后修改过的账户,适合做增量资产更新。想过滤粉尘?`,_jsx(_components.code,{children:`excludeZero`}),` 参数会自动隐藏空代币账户,让结果更干净,也能减少带宽。`]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`高负载注意事项`})}),_jsx(_components.p,{children:`此端点会把全部代币账户直接流式传给客户端。这对大多数钱包都没有问题,但在高负载下,或查询拥有数百万个代币账户的所有者(如协议拥有的账户)时,可能返回错误。`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`需要更高的可靠性?`}),` 请改用 `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`/cn/solana-rpc/http/gettokenaccountsbyownerv2`,children:`getTokenAccountsByOwnerV2`})}),`。V2 方法支持分页,在大钱包和高流量场景下更高效、更可靠。`]})]}),`\n`,_jsxs(_components.p,{children:[`请求配置和错误处理见 `,_jsx(_components.a,{href:`/cn/solana-rpc/quickstart`,children:`RPC 快速入门`}),`。计费见`,_jsx(_components.a,{href:`/cn/solana-rpc/credits-and-rate-limits`,children:`积分与限制`}),`。`]})]})}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":"getTokenAccountsByOwner RPC 方法","openapi":"gettokenaccountsbyowner post /","description":"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。","sidebarTitle":"getTokenAccountsByOwner","href":"/cn/solana-rpc/http/gettokenaccountsbyowner"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/solanatracker/b54537c43919e41e/ws.js","/_mintlify/custom/solanatracker/1b268acf15d54b70/assistant.js","/_mintlify/custom/solanatracker/9a833f877ff92cec/mobile-nav.js","/_mintlify/custom/solanatracker/80a7a41ea7a1626a/minilytics.js"],"openApiReferenceData":{"operation":{"operationId":"gettokenaccountsbyowner","summary":"getTokenAccountsByOwner","description":"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。","security":["ef8ddaac-d409-4a41-b5f0-5c4ec84b77b1"],"requestBody":"573ac351-e7bb-4bf9-934c-e57858d9efd2","responses":{"200":"ee78ade4-129b-49be-98ba-73209f8852a9","400":"9a3344bc-d470-42fb-a497-40383b5e27a3","401":"c4b5c8cc-855d-465b-a95b-7b1cc0e9782d","429":"58636341-ce14-4d4b-b54f-00bd43af1fd5","500":"e08724cd-811d-4d2d-af91-f6d100697f42","503":"abe942d9-0f98-4e93-8a87-38f0cdf05e09","504":"25c35b7b-cead-4f22-9781-6ccc845a5fb8"},"method":"post","type":"path","servers":["f1f67613-a8b5-43ac-82d9-8eb539d8cd32"],"path":"/","baseUrlOptions":["https://rpc-mainnet.solanatracker.io"],"title":"getTokenAccountsByOwner","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","isRequired":true,"uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"A unique identifier for the request.","example":"1","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"method":{"type":"string","description":"The name of the RPC method to invoke.","default":"getTokenAccountsByOwner","enum":["getTokenAccountsByOwner"],"example":"getTokenAccountsByOwner","isRequired":true,"uniqueKey":"method","typeLabel":"enum\u003cstring>"},"params":{"type":"array","items":{"oneOf":[{"type":"string","description":"Solana wallet address (pubkey) of the account owner to query token holdings for, as a base-58 encoded string.","example":"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd","uniqueKey":"params.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","description":"Filter configuration to narrow down token accounts by mint address or program ID.","properties":{"mint":{"type":"string","description":"Specific Solana token mint address to retrieve only accounts for a particular token or NFT.","example":"2cHr7QS3xfuSV8wdxo3ztuF4xbiarF6Nrgx3qpx3HzXR","uniqueKey":"params.items.[INDEX].oneOf.1.mint","typeLabel":"string"},"programId":{"type":"string","description":"Specific Solana token program ID (typically SPL Token program) that created the token accounts.","example":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","uniqueKey":"params.items.[INDEX].oneOf.1.programId","typeLabel":"string"}},"uniqueKey":"params.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Configuration object with optional fields.","properties":{"commitment":{"type":"string","description":"The commitment level for the request.","enum":["confirmed","finalized","processed"],"example":"finalized","uniqueKey":"params.items.[INDEX].oneOf.2.commitment","typeLabel":"enum\u003cstring>"},"minContextSlot":{"type":"integer","description":"The minimum slot that the request can be evaluated at.","example":1000,"uniqueKey":"params.items.[INDEX].oneOf.2.minContextSlot","typeLabel":"integer"},"dataSlice":{"type":"object","description":"Request a slice of the account's data.","properties":{"length":{"type":"integer","description":"Number of bytes to return.","example":10,"uniqueKey":"params.items.[INDEX].oneOf.2.dataSlice.length","typeLabel":"integer"},"offset":{"type":"integer","description":"Byte offset from which to start reading.","example":0,"uniqueKey":"params.items.[INDEX].oneOf.2.dataSlice.offset","typeLabel":"integer"}},"uniqueKey":"params.items.[INDEX].oneOf.2.dataSlice","typeLabel":"object"},"encoding":{"type":"string","description":"Encoding format for Account data.","enum":["base58","base64","base64+zstd","jsonParsed"],"example":"jsonParsed","uniqueKey":"params.items.[INDEX].oneOf.2.encoding","typeLabel":"enum\u003cstring>"},"changedSinceSlot":{"type":"integer","description":"Only return accounts that were modified at or after this slot number. Useful for incremental updates.","example":464175999,"uniqueKey":"params.items.[INDEX].oneOf.2.changedSinceSlot","typeLabel":"integer"}},"uniqueKey":"params.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"params.items.[INDEX]","typeLabel":"string · object · object"},"description":"Parameters for querying token accounts owned by a specific public key.","default":["A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd",{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"encoding":"jsonParsed"}],"isRequired":true,"uniqueKey":"params","typeLabel":"string · object · object[]"}},"required":["jsonrpc","id","method","params"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","id":1,"method":"getTokenAccountsByOwner","params":["A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd",{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"encoding":"jsonParsed"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ee78ade4-129b-49be-98ba-73209f8852a9":{"description":"Successfully retrieved token accounts by owner.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Identifier matching the request.","example":"1","uniqueKey":"id","typeLabel":"string"},"result":{"type":"object","description":"Context and account details.","properties":{"context":{"type":"object","description":"Context of the response.","properties":{"apiVersion":{"type":"string","description":"API version.","example":"2.0.15","uniqueKey":"result.context.apiVersion","typeLabel":"string"},"slot":{"type":"integer","description":"Slot in which the data was fetched.","example":341197933,"uniqueKey":"result.context.slot","typeLabel":"integer"}},"uniqueKey":"result.context","typeLabel":"object"},"value":{"type":"array","description":"List of token accounts.","items":{"type":"object","properties":{"pubkey":{"type":"string","description":"Account Pubkey as a base-58 encoded string.","example":"BGocb4GEpbTFm8UFV2VsDSaBXHELPfAXrvd4vtt8QWrA","uniqueKey":"result.value.items.[INDEX].pubkey","typeLabel":"string"},"account":{"type":"object","description":"Token account details.","properties":{"lamports":{"type":"integer","description":"Number of lamports assigned to the account.","example":2039280,"uniqueKey":"result.value.items.[INDEX].account.lamports","typeLabel":"integer"},"owner":{"type":"string","description":"Pubkey of the program this account has been assigned to.","example":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","uniqueKey":"result.value.items.[INDEX].account.owner","typeLabel":"string"},"data":{"type":"object","description":"Token state data associated with the account.","properties":{"program":{"type":"string","description":"Program name.","example":"spl-token","uniqueKey":"result.value.items.[INDEX].account.data.program","typeLabel":"string"},"parsed":{"type":"object","description":"Parsed token data.","properties":{"info":{"type":"object","description":"Token account information.","properties":{"isNative":{"type":"boolean","description":"Indicates if the account holds native SOL.","example":false,"uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.isNative","typeLabel":"boolean"},"mint":{"type":"string","description":"Pubkey of the token mint.","example":"2cHr7QS3xfuSV8wdxo3ztuF4xbiarF6Nrgx3qpx3HzXR","uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.mint","typeLabel":"string"},"owner":{"type":"string","description":"Pubkey of the account owner.","example":"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd","uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.owner","typeLabel":"string"},"state":{"type":"string","description":"Token account state.","example":"initialized","uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.state","typeLabel":"string"},"tokenAmount":{"type":"object","description":"Token amount details.","properties":{"amount":{"type":"string","description":"Raw balance without decimals.","example":"420000000000000","uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.tokenAmount.amount","typeLabel":"string"},"decimals":{"type":"integer","description":"Number of decimals.","example":6,"uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.tokenAmount.decimals","typeLabel":"integer"},"uiAmount":{"type":"number","description":"Balance in user-friendly format.","example":420000000,"uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.tokenAmount.uiAmount","typeLabel":"number"},"uiAmountString":{"type":"string","description":"Balance as a string.","example":"420000000","uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.tokenAmount.uiAmountString","typeLabel":"string"}},"uniqueKey":"result.value.items.[INDEX].account.data.parsed.info.tokenAmount","typeLabel":"object"}},"uniqueKey":"result.value.items.[INDEX].account.data.parsed.info","typeLabel":"object"}},"uniqueKey":"result.value.items.[INDEX].account.data.parsed","typeLabel":"object"},"space":{"type":"integer","description":"Space allocated for the account.","example":165,"uniqueKey":"result.value.items.[INDEX].account.data.space","typeLabel":"integer"}},"uniqueKey":"result.value.items.[INDEX].account.data","typeLabel":"object"},"executable":{"type":"boolean","description":"Indicates if the account contains a program.","example":false,"uniqueKey":"result.value.items.[INDEX].account.executable","typeLabel":"boolean"},"rentEpoch":{"type":"integer","description":"Epoch at which the account will next owe rent.","example":18446744073709552000,"uniqueKey":"result.value.items.[INDEX].account.rentEpoch","typeLabel":"integer"},"space":{"type":"integer","description":"Data size of the account.","example":165,"uniqueKey":"result.value.items.[INDEX].account.space","typeLabel":"integer"}},"uniqueKey":"result.value.items.[INDEX].account","typeLabel":"object"}},"uniqueKey":"result.value.items.[INDEX]","typeLabel":"object"},"uniqueKey":"result.value","typeLabel":"object[]"}},"uniqueKey":"result","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","id":1,"result":{"context":{"apiVersion":"2.0.15","slot":341197933},"value":[{"pubkey":"BGocb4GEpbTFm8UFV2VsDSaBXHELPfAXrvd4vtt8QWrA","account":{"lamports":2039280,"owner":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","data":{"program":"spl-token","parsed":{"info":{"isNative":false,"mint":"2cHr7QS3xfuSV8wdxo3ztuF4xbiarF6Nrgx3qpx3HzXR","owner":"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd","state":"initialized","tokenAmount":{"amount":"420000000000000","decimals":6,"uiAmount":420000000,"uiAmountString":"420000000"}}},"space":165},"executable":false,"rentEpoch":18446744073709552000,"space":165}}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"9a3344bc-d470-42fb-a497-40383b5e27a3":{"description":"Bad Request - Invalid request parameters or malformed request.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","example":-32602,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"The error message.","uniqueKey":"error.message","typeLabel":"string"},"data":{"type":"object","description":"Additional data about the error.","uniqueKey":"error.data","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"id":{"type":"string","description":"Identifier matching the request.","example":"1","uniqueKey":"id","typeLabel":"string"}},"refIdentifier":"#/components/schemas/ErrorResponse","uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params"},"id":1}}},"exampleType":"examples"}},"exampleType":"examples"},"c4b5c8cc-855d-465b-a95b-7b1cc0e9782d":{"description":"Unauthorized - Invalid or missing API key.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","example":-32602,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"The error message.","uniqueKey":"error.message","typeLabel":"string"},"data":{"type":"object","description":"Additional data about the error.","uniqueKey":"error.data","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"id":{"type":"string","description":"Identifier matching the request.","example":"1","uniqueKey":"id","typeLabel":"string"}},"refIdentifier":"#/components/schemas/ErrorResponse","uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","error":{"code":-32001,"message":"Unauthorized"},"id":1}}},"exampleType":"examples"}},"exampleType":"examples"},"58636341-ce14-4d4b-b54f-00bd43af1fd5":{"description":"Too Many Requests - Rate limit exceeded.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","example":-32602,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"The error message.","uniqueKey":"error.message","typeLabel":"string"},"data":{"type":"object","description":"Additional data about the error.","uniqueKey":"error.data","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"id":{"type":"string","description":"Identifier matching the request.","example":"1","uniqueKey":"id","typeLabel":"string"}},"refIdentifier":"#/components/schemas/ErrorResponse","uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","error":{"code":-32005,"message":"Too many requests"},"id":1}}},"exampleType":"examples"}},"exampleType":"examples"},"e08724cd-811d-4d2d-af91-f6d100697f42":{"description":"Internal Server Error - An error occurred on the server.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","example":-32602,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"The error message.","uniqueKey":"error.message","typeLabel":"string"},"data":{"type":"object","description":"Additional data about the error.","uniqueKey":"error.data","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"id":{"type":"string","description":"Identifier matching the request.","example":"1","uniqueKey":"id","typeLabel":"string"}},"refIdentifier":"#/components/schemas/ErrorResponse","uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","error":{"code":-32603,"message":"Internal error"},"id":1}}},"exampleType":"examples"}},"exampleType":"examples"},"abe942d9-0f98-4e93-8a87-38f0cdf05e09":{"description":"Service Unavailable - The service is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","example":-32602,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"The error message.","uniqueKey":"error.message","typeLabel":"string"},"data":{"type":"object","description":"Additional data about the error.","uniqueKey":"error.data","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"id":{"type":"string","description":"Identifier matching the request.","example":"1","uniqueKey":"id","typeLabel":"string"}},"refIdentifier":"#/components/schemas/ErrorResponse","uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","error":{"code":-32002,"message":"Service unavailable"},"id":1}}},"exampleType":"examples"}},"exampleType":"examples"},"25c35b7b-cead-4f22-9781-6ccc845a5fb8":{"description":"Gateway Timeout - The request timed out.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","description":"The JSON-RPC protocol version.","enum":["2.0"],"example":"2.0","uniqueKey":"jsonrpc","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","example":-32602,"uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","description":"The error message.","uniqueKey":"error.message","typeLabel":"string"},"data":{"type":"object","description":"Additional data about the error.","uniqueKey":"error.data","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"id":{"type":"string","description":"Identifier matching the request.","example":"1","uniqueKey":"id","typeLabel":"string"}},"refIdentifier":"#/components/schemas/ErrorResponse","uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"jsonrpc":"2.0","error":{"code":-32003,"message":"Gateway timeout"},"id":1}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ef8ddaac-d409-4a41-b5f0-5c4ec84b77b1":{"ApiKeyQuery":{"type":"apiKey","in":"query","name":"api_key","scopes":[]}}},"servers":{"f1f67613-a8b5-43ac-82d9-8eb539d8cd32":{"url":"https://rpc-mainnet.solanatracker.io","description":"Mainnet RPC endpoint"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"query","name":"api_key","scopes":[]},"schema":{"title":"api_key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyQuery","name":"api_key"}],"title":"ApiKeyQuery"}]},"originalFileLocation":"openapi/rpc-http/gettokenaccountsbyowner.json"},"subdomain":"solanatracker","siteName":"Solana Tracker","title":"getTokenAccountsByOwner RPC 方法 - Solana Tracker","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/solana-rpc/http/gettokenaccountsbyowner","matchLevel":1},"cn":{"href":"/cn/solana-rpc/http/gettokenaccountsbyowner","matchLevel":0},"es":{"href":"/es/solana-rpc/http/gettokenaccountsbyowner","matchLevel":1}}},"lastModified":"2026-11-04T13:11:47.826Z","originalFileLocation":"cn/solana-rpc/http/gettokenaccountsbyowner.mdx","locale":"cn"},"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=\"dark\"}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=\"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。\">\u003cmeta data-mint-head name=\"application-name\" content=\"Solana Tracker\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-image-preview:large, max-snippet:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/solanatracker/4Yx8Mp_J_BbpYlxI/_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/solanatracker/4Yx8Mp_J_BbpYlxI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/solanatracker/4Yx8Mp_J_BbpYlxI/_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/solanatracker/4Yx8Mp_J_BbpYlxI/_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/solanatracker/4Yx8Mp_J_BbpYlxI/_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/solanatracker/4Yx8Mp_J_BbpYlxI/_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/solanatracker/4Yx8Mp_J_BbpYlxI/_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/solanatracker/4Yx8Mp_J_BbpYlxI/_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/solanatracker/4Yx8Mp_J_BbpYlxI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"getTokenAccountsByOwner RPC 方法 - Solana Tracker\">\u003cmeta data-mint-head property=\"og:description\" content=\"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Solana Tracker\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://solanatracker.mintlify.site/_mintlify/api/og/v2?division=%E8%B4%A6%E6%88%B7%E4%B8%8E%E4%BB%A3%E5%B8%81\u0026amp;title=getTokenAccountsByOwner+RPC+%E6%96%B9%E6%B3%95\u0026amp;description=%E6%8C%89%E9%92%B1%E5%8C%85%E6%9F%A5%E8%AF%A2%E4%BB%A3%E5%B8%81%E8%B4%A6%E6%88%B7%EF%BC%8C%E5%B9%B6%E7%94%A8+mint+%E6%88%96%E4%BB%A3%E5%B8%81%E7%A8%8B%E5%BA%8F%E7%AD%9B%E9%80%89%E3%80%82%E6%9F%A5%E7%9C%8B+getTokenAccountsByOwner+%E7%9A%84%E5%8F%82%E6%95%B0%E3%80%81%E5%93%8D%E5%BA%94%E5%AD%97%E6%AE%B5%E5%92%8C%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B%E3%80%82\u0026amp;theme=f098bc869383051d3a8783a2\u0026amp;signature=7e5b95d2df96752880dc398d43873e21beaa34edd9efc3bd5b1d4839c836906d\">\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=\"getTokenAccountsByOwner RPC 方法 - Solana Tracker\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://solanatracker.mintlify.site/_mintlify/api/og/v2?division=%E8%B4%A6%E6%88%B7%E4%B8%8E%E4%BB%A3%E5%B8%81\u0026amp;title=getTokenAccountsByOwner+RPC+%E6%96%B9%E6%B3%95\u0026amp;description=%E6%8C%89%E9%92%B1%E5%8C%85%E6%9F%A5%E8%AF%A2%E4%BB%A3%E5%B8%81%E8%B4%A6%E6%88%B7%EF%BC%8C%E5%B9%B6%E7%94%A8+mint+%E6%88%96%E4%BB%A3%E5%B8%81%E7%A8%8B%E5%BA%8F%E7%AD%9B%E9%80%89%E3%80%82%E6%9F%A5%E7%9C%8B+getTokenAccountsByOwner+%E7%9A%84%E5%8F%82%E6%95%B0%E3%80%81%E5%93%8D%E5%BA%94%E5%AD%97%E6%AE%B5%E5%92%8C%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B%E3%80%82\u0026amp;theme=f098bc869383051d3a8783a2\u0026amp;signature=7e5b95d2df96752880dc398d43873e21beaa34edd9efc3bd5b1d4839c836906d\">\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/solanatracker/4Yx8Mp_J_BbpYlxI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Solana Tracker\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#222\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cn/solana-rpc/http/gettokenaccountsbyowner.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.solanatracker.io/solana-rpc/http/gettokenaccountsbyowner\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.solanatracker.io/es/solana-rpc/http/gettokenaccountsbyowner\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.solanatracker.io/solana-rpc/http/gettokenaccountsbyowner\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.solanatracker.io/#organization\",\"name\":\"Solana Tracker\",\"url\":\"https://www.solanatracker.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.solanatracker.io/logo/light.png\"},\"sameAs\":[\"https://www.solanatracker.io\",\"https://x.com/solanatrackr\",\"https://github.com/solanatracker\",\"https://discord.gg/JH2e9rR9fc\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.solanatracker.io#website\",\"name\":\"Solana Tracker\",\"url\":\"https://docs.solanatracker.io\",\"publisher\":{\"@id\":\"https://www.solanatracker.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner#webpage\",\"url\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner\",\"name\":\"getTokenAccountsByOwner RPC 方法\",\"description\":\"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。\",\"dateModified\":\"2026-11-04T13:11:47.826Z\",\"isPartOf\":{\"@id\":\"https://docs.solanatracker.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"账户与代币\",\"item\":\"https://docs.solanatracker.io/cn/solana-rpc/http/getaccountinfo\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"getTokenAccountsByOwner RPC 方法\",\"item\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner#apireference\",\"headline\":\"getTokenAccountsByOwner RPC 方法\",\"name\":\"getTokenAccountsByOwner RPC 方法\",\"description\":\"按钱包查询代币账户,并用 mint 或代币程序筛选。查看 getTokenAccountsByOwner 的参数、响应字段和代码示例。\",\"url\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner\",\"mainEntityOfPage\":{\"@id\":\"https://docs.solanatracker.io/cn/solana-rpc/http/gettokenaccountsbyowner#webpage\"},\"dateModified\":\"2026-11-04T13:11:47.826Z\",\"publisher\":{\"@id\":\"https://www.solanatracker.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.solanatracker.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Solana Tracker\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Solana Tracker\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cn/solana-rpc/http/gettokenaccountsbyowner.md","siteName":"Solana Tracker","nav":{"global":{"anchors":[{"anchor":"API Status","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/signal.svg","href":"https://status.solanatracker.io"},{"anchor":"SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/npm.svg","href":"https://www.npmjs.com/package/@solana-tracker/data-api"},{"anchor":"Discord","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/discord.svg","href":"https://discord.gg/JH2e9rR9fc"}]},"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/solana-rpc/http/gettokenaccountsbyowner"}]},{"language":"cn","tabs":[{"tab":"入门","pages":[{"title":"入门","href":"/cn"}]},{"tab":"指南","pages":[{"title":"指南","href":"/cn/guides"}]},{"tab":"Data API","pages":[{"title":"Data API","href":"/cn/data-api/overview"}]},{"tab":"Datastream","pages":[{"title":"Datastream","href":"/cn/datastream/overview"}]},{"tab":"Prediction Markets","pages":[{"title":"Prediction Markets","href":"/cn/prediction-markets/overview"}]},{"tab":"Raptor Swap API","pages":[{"title":"Raptor Swap API","href":"/cn/raptor/overview"}]},{"tab":"Solana RPC","groups":[{"group":"开始使用","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/book-open.svg","pages":[{"title":"Solana RPC API 参考与指南","sidebarTitle":"概览","href":"/cn/solana-rpc"},{"title":"Solana RPC 快速开始:发起第一个请求","sidebarTitle":"HTTP 快速开始","href":"/cn/solana-rpc/quickstart"},{"title":"Solana RPC WebSocket 订阅指南","sidebarTitle":"WebSocket 指南","href":"/cn/solana-rpc/subscriptions"},{"title":"Solana RPC 积分与速率限制","sidebarTitle":"积分与限流","href":"/cn/solana-rpc/credits-and-rate-limits"},{"title":"Solana RPC 最近更新","sidebarTitle":"最近更新","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/clock-rotate-left.svg","href":"/cn/solana-rpc/recent-changes"}]},{"group":"历史与转账","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/clock.svg","tag":"NEW","pages":[{"title":"getTransactionsForAddress RPC 方法","openapi":"gettransactionsforaddress post /","sidebarTitle":"getTransactionsForAddress","href":"/cn/solana-rpc/http/gettransactionsforaddress"},{"title":"getTransfersForAddress RPC 方法","openapi":"gettransfersforaddress post /","sidebarTitle":"getTransfersForAddress","href":"/cn/solana-rpc/http/gettransfersforaddress"},{"title":"getFirstTransfers RPC 方法","openapi":"getfirsttransfers post /","sidebarTitle":"getFirstTransfers","href":"/cn/solana-rpc/http/getfirsttransfers"},{"title":"getFundingCluster RPC 方法","openapi":"getfundingcluster post /","sidebarTitle":"getFundingCluster","href":"/cn/solana-rpc/http/getfundingcluster"},{"title":"getTokenTransferCluster RPC 方法","openapi":"gettokentransfercluster post /","sidebarTitle":"getTokenTransferCluster","href":"/cn/solana-rpc/http/gettokentransfercluster"}]},{"group":"历史余额","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/wallet.svg","tag":"NEW","pages":[{"title":"getHistoricalSolBalances RPC 方法","openapi":"gethistoricalsolbalances post /","sidebarTitle":"getHistoricalSolBalances","href":"/cn/solana-rpc/http/gethistoricalsolbalances"},{"title":"getHistoricalTokenAccountBalances RPC 方法","openapi":"gethistoricaltokenaccountbalances post /","sidebarTitle":"getHistoricalTokenAccountBalances","href":"/cn/solana-rpc/http/gethistoricaltokenaccountbalances"},{"title":"getHistoricalTokenAccountsByOwner RPC 方法","openapi":"gethistoricaltokenaccountsbyowner post /","sidebarTitle":"getHistoricalTokenAccountsByOwner","href":"/cn/solana-rpc/http/gethistoricaltokenaccountsbyowner"},{"title":"getSolBalanceChangesForAddress RPC 方法","openapi":"getsolbalancechangesforaddress post /","sidebarTitle":"getSolBalanceChangesForAddress","href":"/cn/solana-rpc/http/getsolbalancechangesforaddress"},{"title":"getTokenBalanceChangesForMint RPC 方法","openapi":"gettokenbalancechangesformint post /","sidebarTitle":"getTokenBalanceChangesForMint","href":"/cn/solana-rpc/http/gettokenbalancechangesformint"},{"title":"历史 getAccountInfo RPC 方法","openapi":"historical-getaccountinfo post /","sidebarTitle":"历史 getAccountInfo","href":"/cn/solana-rpc/http/historical-getaccountinfo"},{"title":"历史 getMultipleAccounts RPC 方法","openapi":"historical-getmultipleaccounts post /","sidebarTitle":"历史 getMultipleAccounts","href":"/cn/solana-rpc/http/historical-getmultipleaccounts"}]},{"group":"自定义查询","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/wand-magic-sparkles.svg","pages":[{"title":"getProgramAccountsV2 RPC 方法","openapi":"getprogramaccountsv2 post /","sidebarTitle":"getProgramAccountsV2","href":"/cn/solana-rpc/http/getprogramaccountsv2"},{"title":"getTokenAccountsByOwnerV2 RPC 方法","openapi":"gettokenaccountsbyownerv2 post /","sidebarTitle":"getTokenAccountsByOwnerV2","href":"/cn/solana-rpc/http/gettokenaccountsbyownerv2"},{"title":"getTokenAccountsByOwners RPC 方法","openapi":"gettokenaccountsbyowners post /","sidebarTitle":"getTokenAccountsByOwners","href":"/cn/solana-rpc/http/gettokenaccountsbyowners"},{"title":"getTokenAccountsByDelegateV2 RPC 方法","openapi":"gettokenaccountsbydelegatev2 post /","sidebarTitle":"getTokenAccountsByDelegateV2","href":"/cn/solana-rpc/http/gettokenaccountsbydelegatev2"},{"title":"getTokenAccountsWithCursor RPC 方法","openapi":"gettokenaccountswithcursor post /","sidebarTitle":"getTokenAccountsWithCursor","href":"/cn/solana-rpc/http/gettokenaccountswithcursor"},{"title":"getTokenHolderCounts RPC 方法","openapi":"gettokenholdercounts post /","sidebarTitle":"getTokenHolderCounts","href":"/cn/solana-rpc/http/gettokenholdercounts"},{"title":"getPriorityFeeEstimate RPC 方法","openapi":"getpriorityfeeestimate post /","sidebarTitle":"getPriorityFeeEstimate","href":"/cn/solana-rpc/http/getpriorityfeeestimate"},{"group":"地址查找表","pages":[{"title":"getLookupTablesByAuthority RPC 方法","openapi":"getlookuptablesbyauthority post /","sidebarTitle":"getLookupTablesByAuthority","href":"/cn/solana-rpc/http/getlookuptablesbyauthority"},{"title":"getLookupTablesByAccount RPC 方法","openapi":"getlookuptablesbyaccount post /","sidebarTitle":"getLookupTablesByAccount","href":"/cn/solana-rpc/http/getlookuptablesbyaccount"},{"title":"getLookupTablesByMint RPC 方法","openapi":"getlookuptablesbymint post /","sidebarTitle":"getLookupTablesByMint","href":"/cn/solana-rpc/http/getlookuptablesbymint"},{"title":"getLookupTablesByAccounts RPC 方法","openapi":"getlookuptablesbyaccounts post /","sidebarTitle":"getLookupTablesByAccounts","href":"/cn/solana-rpc/http/getlookuptablesbyaccounts"}]},{"group":"SNS 域名","pages":[{"title":"getPrimaryDomain RPC 方法","openapi":"getprimarydomain post /","sidebarTitle":"getPrimaryDomain","href":"/cn/solana-rpc/http/getprimarydomain"},{"title":"getMultiplePrimaryDomains RPC 方法","openapi":"getmultipleprimarydomains post /","sidebarTitle":"getMultiplePrimaryDomains","href":"/cn/solana-rpc/http/getmultipleprimarydomains"},{"title":"getAllDomains RPC 方法","openapi":"getalldomains post /","sidebarTitle":"getAllDomains","href":"/cn/solana-rpc/http/getalldomains"},{"title":"resolveSolDomain RPC 方法","openapi":"resolvesoldomain post /","sidebarTitle":"resolveSolDomain","href":"/cn/solana-rpc/http/resolvesoldomain"}]}]},{"group":"DAS API","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/cube.svg","tag":"NEW","pages":[{"title":"DAS API:数字资产标准方法","sidebarTitle":"DAS API 概览","href":"/cn/solana-rpc/das-api"},{"title":"getAsset DAS 方法","openapi":"getasset post /","sidebarTitle":"getAsset","href":"/cn/solana-rpc/http/getasset"},{"title":"getAssets DAS 方法","openapi":"getassets post /","sidebarTitle":"getAssets","href":"/cn/solana-rpc/http/getassets"},{"title":"getAssetProof DAS 方法","openapi":"getassetproof post /","sidebarTitle":"getAssetProof","href":"/cn/solana-rpc/http/getassetproof"},{"title":"getAssetProofs DAS 方法","openapi":"getassetproofs post /","sidebarTitle":"getAssetProofs","href":"/cn/solana-rpc/http/getassetproofs"},{"title":"getAssetsByOwner DAS 方法","openapi":"getassetsbyowner post /","sidebarTitle":"getAssetsByOwner","href":"/cn/solana-rpc/http/getassetsbyowner"},{"title":"getAssetsByCreator DAS 方法","openapi":"getassetsbycreator post /","sidebarTitle":"getAssetsByCreator","href":"/cn/solana-rpc/http/getassetsbycreator"},{"title":"getAssetsByAuthority DAS 方法","openapi":"getassetsbyauthority post /","sidebarTitle":"getAssetsByAuthority","href":"/cn/solana-rpc/http/getassetsbyauthority"},{"title":"getAssetsByGroup DAS 方法","openapi":"getassetsbygroup post /","sidebarTitle":"getAssetsByGroup","href":"/cn/solana-rpc/http/getassetsbygroup"},{"title":"getAssetSignatures DAS 方法","openapi":"getassetsignatures post /","sidebarTitle":"getAssetSignatures","href":"/cn/solana-rpc/http/getassetsignatures"},{"title":"getGrouping DAS 方法","openapi":"getgrouping post /","sidebarTitle":"getGrouping","href":"/cn/solana-rpc/http/getgrouping"},{"title":"searchAssets DAS 方法","openapi":"searchassets post /","sidebarTitle":"searchAssets","href":"/cn/solana-rpc/http/searchassets"},{"title":"getTokenAccounts DAS 方法","openapi":"gettokenaccounts post /","sidebarTitle":"getTokenAccounts","href":"/cn/solana-rpc/http/gettokenaccounts"},{"title":"getNftEditions DAS 方法","openapi":"getnfteditions post /","sidebarTitle":"getNftEditions","href":"/cn/solana-rpc/http/getnfteditions"}]},{"group":"账户与代币","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/user.svg","pages":[{"title":"getAccountInfo RPC 方法","openapi":"getaccountinfo post /","sidebarTitle":"getAccountInfo","href":"/cn/solana-rpc/http/getaccountinfo"},{"title":"getBalance RPC 方法","openapi":"getbalance post /","sidebarTitle":"getBalance","href":"/cn/solana-rpc/http/getbalance"},{"title":"getMultipleAccounts RPC 方法","openapi":"getmultipleaccounts post /","sidebarTitle":"getMultipleAccounts","href":"/cn/solana-rpc/http/getmultipleaccounts"},{"title":"getProgramAccounts RPC 方法","openapi":"getprogramaccounts post /","sidebarTitle":"getProgramAccounts","href":"/cn/solana-rpc/http/getprogramaccounts"},{"title":"getTokenAccountBalance RPC 方法","openapi":"gettokenaccountbalance post /","sidebarTitle":"getTokenAccountBalance","href":"/cn/solana-rpc/http/gettokenaccountbalance"},{"title":"getTokenAccountsByDelegate RPC 方法","openapi":"gettokenaccountsbydelegate post /","description":"查找将指定地址设为委托人的代币账户。查看 getTokenAccountsByDelegate 的参数、响应字段和代码示例。","sidebarTitle":"getTokenAccountsByDelegate","href":"/cn/solana-rpc/http/gettokenaccountsbydelegate"},{"title":"getTokenAccountsByOwner RPC 方法","openapi":"gettokenaccountsbyowner post /","sidebarTitle":"getTokenAccountsByOwner","href":"/cn/solana-rpc/http/gettokenaccountsbyowner"},{"title":"getTokenLargestAccounts RPC 方法","openapi":"gettokenlargestaccounts post /","description":"列出某个 SPL 代币 mint 余额最大的 20 个代币账户。查看 getTokenLargestAccounts 的参数、响应字段和代码示例。","sidebarTitle":"getTokenLargestAccounts","href":"/cn/solana-rpc/http/gettokenlargestaccounts"},{"title":"getTokenSupply RPC 方法","openapi":"gettokensupply post /","sidebarTitle":"getTokenSupply","href":"/cn/solana-rpc/http/gettokensupply"}]},{"group":"区块","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/box.svg","pages":[{"title":"getBlock RPC 方法","openapi":"getblock post /","sidebarTitle":"getBlock","href":"/cn/solana-rpc/http/getblock"},{"title":"getBlockHeight RPC 方法","openapi":"getblockheight post /","sidebarTitle":"getBlockHeight","href":"/cn/solana-rpc/http/getblockheight"},{"title":"getBlockProduction RPC 方法","openapi":"getblockproduction post /","sidebarTitle":"getBlockProduction","href":"/cn/solana-rpc/http/getblockproduction"},{"title":"getBlockCommitment RPC 方法","openapi":"getblockcommitment post /","sidebarTitle":"getBlockCommitment","href":"/cn/solana-rpc/http/getblockcommitment"},{"title":"getBlocks RPC 方法","openapi":"getblocks post /","sidebarTitle":"getBlocks","href":"/cn/solana-rpc/http/getblocks"},{"title":"getBlocksWithLimit RPC 方法","openapi":"getblockswithlimit post /","sidebarTitle":"getBlocksWithLimit","href":"/cn/solana-rpc/http/getblockswithlimit"},{"title":"getBlockTime RPC 方法","openapi":"getblocktime post /","sidebarTitle":"getBlockTime","href":"/cn/solana-rpc/http/getblocktime"},{"title":"getFirstAvailableBlock RPC 方法","openapi":"getfirstavailableblock post /","sidebarTitle":"getFirstAvailableBlock","href":"/cn/solana-rpc/http/getfirstavailableblock"},{"title":"getLatestBlockhash RPC 方法","openapi":"getlatestblockhash post /","sidebarTitle":"getLatestBlockhash","href":"/cn/solana-rpc/http/getlatestblockhash"},{"title":"isBlockhashValid RPC 方法","openapi":"isblockhashvalid post /","sidebarTitle":"isBlockhashValid","href":"/cn/solana-rpc/http/isblockhashvalid"}]},{"group":"交易","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/arrow-left-right.svg","pages":[{"title":"getSignatureStatuses RPC 方法","openapi":"getsignaturestatuses post /","sidebarTitle":"getSignatureStatuses","href":"/cn/solana-rpc/http/getsignaturestatuses"},{"title":"getSignaturesForAddress RPC 方法","openapi":"getsignaturesforaddress post /","sidebarTitle":"getSignaturesForAddress","href":"/cn/solana-rpc/http/getsignaturesforaddress"},{"title":"getTransaction RPC 方法","openapi":"gettransaction post /","sidebarTitle":"getTransaction","href":"/cn/solana-rpc/http/gettransaction"},{"title":"getTransactionCount RPC 方法","openapi":"gettransactioncount post /","sidebarTitle":"getTransactionCount","href":"/cn/solana-rpc/http/gettransactioncount"},{"title":"sendTransaction RPC 方法","openapi":"sendtransaction post /","sidebarTitle":"sendTransaction","href":"/cn/solana-rpc/http/sendtransaction"},{"title":"simulateTransaction RPC 方法","openapi":"simulatetransaction post /","sidebarTitle":"simulateTransaction","href":"/cn/solana-rpc/http/simulatetransaction"},{"title":"getFeeForMessage RPC 方法","openapi":"getfeeformessage post /","sidebarTitle":"getFeeForMessage","href":"/cn/solana-rpc/http/getfeeformessage"},{"title":"getRecentPrioritizationFees RPC 方法","openapi":"getrecentprioritizationfees post /","sidebarTitle":"getRecentPrioritizationFees","href":"/cn/solana-rpc/http/getrecentprioritizationfees"}]},{"group":"网络","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/network.svg","pages":[{"title":"getClusterNodes RPC 方法","openapi":"getclusternodes post /","sidebarTitle":"getClusterNodes","href":"/cn/solana-rpc/http/getclusternodes"},{"title":"getEpochInfo RPC 方法","openapi":"getepochinfo post /","sidebarTitle":"getEpochInfo","href":"/cn/solana-rpc/http/getepochinfo"},{"title":"getEpochSchedule RPC 方法","openapi":"getepochschedule post /","sidebarTitle":"getEpochSchedule","href":"/cn/solana-rpc/http/getepochschedule"},{"title":"getGenesisHash RPC 方法","openapi":"getgenesishash post /","sidebarTitle":"getGenesisHash","href":"/cn/solana-rpc/http/getgenesishash"},{"title":"getHealth RPC 方法","openapi":"gethealth post /","sidebarTitle":"getHealth","href":"/cn/solana-rpc/http/gethealth"},{"title":"getHighestSnapshotSlot RPC 方法","openapi":"gethighestsnapshotslot post /","sidebarTitle":"getHighestSnapshotSlot","href":"/cn/solana-rpc/http/gethighestsnapshotslot"},{"title":"getIdentity RPC 方法","openapi":"getidentity post /","sidebarTitle":"getIdentity","href":"/cn/solana-rpc/http/getidentity"},{"title":"getInflationGovernor RPC 方法","openapi":"getinflationgovernor post /","sidebarTitle":"getInflationGovernor","href":"/cn/solana-rpc/http/getinflationgovernor"},{"title":"getInflationRate RPC 方法","openapi":"getinflationrate post /","sidebarTitle":"getInflationRate","href":"/cn/solana-rpc/http/getinflationrate"},{"title":"getInflationReward RPC 方法","openapi":"getinflationreward post /","sidebarTitle":"getInflationReward","href":"/cn/solana-rpc/http/getinflationreward"},{"title":"getLargestAccounts RPC 方法","openapi":"getlargestaccounts post /","sidebarTitle":"getLargestAccounts","href":"/cn/solana-rpc/http/getlargestaccounts"},{"title":"getLeaderSchedule RPC 方法","openapi":"getleaderschedule post /","sidebarTitle":"getLeaderSchedule","href":"/cn/solana-rpc/http/getleaderschedule"},{"title":"getMaxRetransmitSlot RPC 方法","openapi":"getmaxretransmitslot post /","sidebarTitle":"getMaxRetransmitSlot","href":"/cn/solana-rpc/http/getmaxretransmitslot"},{"title":"getMaxShredInsertSlot RPC 方法","openapi":"getmaxshredinsertslot post /","sidebarTitle":"getMaxShredInsertSlot","href":"/cn/solana-rpc/http/getmaxshredinsertslot"},{"title":"getMinimumBalanceForRentExemption RPC 方法","openapi":"getminimumbalanceforrentexemption post /","sidebarTitle":"getMinimumBalanceForRentExemption","href":"/cn/solana-rpc/http/getminimumbalanceforrentexemption"},{"title":"getRecentPerformanceSamples RPC 方法","openapi":"getrecentperformancesamples post /","sidebarTitle":"getRecentPerformanceSamples","href":"/cn/solana-rpc/http/getrecentperformancesamples"},{"title":"getSlot RPC 方法","openapi":"getslot post /","sidebarTitle":"getSlot","href":"/cn/solana-rpc/http/getslot"},{"title":"getSlotLeader RPC 方法","openapi":"getslotleader post /","sidebarTitle":"getSlotLeader","href":"/cn/solana-rpc/http/getslotleader"},{"title":"getSlotLeaders RPC 方法","openapi":"getslotleaders post /","sidebarTitle":"getSlotLeaders","href":"/cn/solana-rpc/http/getslotleaders"},{"title":"getSupply RPC 方法","openapi":"getsupply post /","sidebarTitle":"getSupply","href":"/cn/solana-rpc/http/getsupply"},{"title":"getVersion RPC 方法","openapi":"getversion post /","sidebarTitle":"getVersion","href":"/cn/solana-rpc/http/getversion"},{"title":"minimumLedgerSlot RPC 方法","openapi":"minimumledgerslot post /","sidebarTitle":"minimumLedgerSlot","href":"/cn/solana-rpc/http/minimumledgerslot"}]},{"group":"质押","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/coins.svg","pages":[{"title":"getStakeMinimumDelegation RPC 方法","openapi":"getstakeminimumdelegation post /","sidebarTitle":"getStakeMinimumDelegation","href":"/cn/solana-rpc/http/getstakeminimumdelegation"},{"title":"getVoteAccounts RPC 方法","openapi":"getvoteaccounts post /","sidebarTitle":"getVoteAccounts","href":"/cn/solana-rpc/http/getvoteaccounts"}]},{"group":"开发工具","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/wrench.svg","pages":[{"title":"requestAirdrop RPC 方法","openapi":"requestairdrop post /","sidebarTitle":"requestAirdrop","href":"/cn/solana-rpc/http/requestairdrop"}]},{"group":"WebSocket 方法","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/bolt.svg","expanded":true,"pages":[{"title":"accountSubscribe WebSocket 方法","sidebarTitle":"Account subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json accountSubscribe","href":"/cn/solana-rpc/websockets/accountsubscribe"},{"title":"accountUnsubscribe WebSocket 方法","sidebarTitle":"Account unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json accountUnsubscribe","href":"/cn/solana-rpc/websockets/accountunsubscribe"},{"title":"blockSubscribe WebSocket 方法","sidebarTitle":"Block subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json blockSubscribe","href":"/cn/solana-rpc/websockets/blocksubscribe"},{"title":"blockUnsubscribe WebSocket 方法","sidebarTitle":"Block unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json blockUnsubscribe","href":"/cn/solana-rpc/websockets/blockunsubscribe"},{"title":"logsSubscribe WebSocket 方法","sidebarTitle":"Logs subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json logsSubscribe","href":"/cn/solana-rpc/websockets/logssubscribe"},{"title":"logsUnsubscribe WebSocket 方法","sidebarTitle":"Logs unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json logsUnsubscribe","href":"/cn/solana-rpc/websockets/logsunsubscribe"},{"title":"programSubscribe WebSocket 方法","sidebarTitle":"Program subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json programSubscribe","href":"/cn/solana-rpc/websockets/programsubscribe"},{"title":"programUnsubscribe WebSocket 方法","sidebarTitle":"Program unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json programUnsubscribe","href":"/cn/solana-rpc/websockets/programunsubscribe"},{"title":"signatureSubscribe WebSocket 方法","sidebarTitle":"Signature subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json signatureSubscribe","href":"/cn/solana-rpc/websockets/signaturesubscribe"},{"title":"signatureUnsubscribe WebSocket 方法","sidebarTitle":"Signature unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json signatureUnsubscribe","href":"/cn/solana-rpc/websockets/signatureunsubscribe"},{"title":"slotSubscribe WebSocket 方法","sidebarTitle":"Slot subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json slotSubscribe","href":"/cn/solana-rpc/websockets/slotsubscribe"},{"title":"slotUnsubscribe WebSocket 方法","sidebarTitle":"Slot unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json slotUnsubscribe","href":"/cn/solana-rpc/websockets/slotunsubscribe"},{"title":"slotsUpdatesSubscribe WebSocket 方法","sidebarTitle":"Slots updates subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json slotsUpdatesSubscribe","href":"/cn/solana-rpc/websockets/slotsupdatessubscribe"},{"title":"slotsUpdatesUnsubscribe WebSocket 方法","sidebarTitle":"Slots updates unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json slotsUpdatesUnsubscribe","href":"/cn/solana-rpc/websockets/slotsupdatesunsubscribe"},{"title":"rootSubscribe WebSocket 方法","sidebarTitle":"Root subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json rootSubscribe","href":"/cn/solana-rpc/websockets/rootsubscribe"},{"title":"rootUnsubscribe WebSocket 方法","sidebarTitle":"Root unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json rootUnsubscribe","href":"/cn/solana-rpc/websockets/rootunsubscribe"},{"title":"voteSubscribe WebSocket 方法","sidebarTitle":"Vote subscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json voteSubscribe","href":"/cn/solana-rpc/websockets/votesubscribe"},{"title":"voteUnsubscribe WebSocket 方法","sidebarTitle":"Vote unsubscribe","asyncapi":"cn/solana-rpc/websocket/asyncapi.json voteUnsubscribe","href":"/cn/solana-rpc/websockets/voteunsubscribe"}]},{"group":"Shredstream","icon":"https://mintlify.s3.us-west-1.amazonaws.com/solanatracker/icons/hugeicons/activity.svg","expanded":true,"pages":[{"title":"shredSubscribe WebSocket 方法","sidebarTitle":"Shred subscribe","asyncapi":"cn/solana-rpc/websocket/shredstream.json shredSubscribe","href":"/cn/solana-rpc/websockets/shredsubscribe"},{"title":"shredUnsubscribe WebSocket 方法","sidebarTitle":"Shred unsubscribe","asyncapi":"cn/solana-rpc/websocket/shredstream.json shredUnsubscribe","href":"/cn/solana-rpc/websockets/shredunsubscribe"}]}]},{"tab":"Yellowstone gRPC","pages":[{"title":"Yellowstone gRPC","href":"/cn/yellowstone-grpc"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/solana-rpc/http/gettokenaccountsbyowner"}]}]},"basePath":"","title":"getTokenAccountsByOwner RPC 方法 - Solana Tracker","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}