Skip to Content
Compatibility

getAccountInfo

Return account state for one public key.

MethodgetAccountInfo
Route familySolana
StageBeta

Available under Solana HTTP API (Beta). Use the chain-family pages for route switching and the method pages for exact request and response shapes.

Compatibility reference only. Live endpoint examples and Try send are not published on this page.

Request fields

JSON-RPC request body

FieldTypeRequiredNotes
jsonrpcstringRequiredJSON-RPC version. Use `2.0`.
idstring | numberRequiredCaller request id.
methodstringRequiredAllowlisted chain method.
paramsarrayRequiredMethod arguments.

Response fields

JSON-RPC response body

FieldTypeNotes
jsonrpcstringJSON-RPC version.
idstring | numberEchoed request id.
resultunknownSuccessful method result.
errorobjectStandard JSON-RPC error object when the request fails.