POST
/
getAccountInfo
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getAccountInfo",
  "params": [
    "83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri",
    {
      "encoding": "base58"
    }
  ]
}'
{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "apiVersion": "2.0.15",
      "slot": 341197053
    },
    "value": {
      "lamports": 88849814690250,
      "owner": "11111111111111111111111111111111",
      "data": [
        "",
        "base58"
      ],
      "executable": false,
      "rentEpoch": 18446744073709552000,
      "space": 0
    }
  },
  "id": 1
}
New Feature: getAccountInfo now supports the changedSinceSlot parameter for incremental updates. When specified, the method returns only accounts that have been modified at or after the given slot number. For accounts that exist but haven’t changed since the specified slot, the response will contain status: "unchanged".

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The JSON-RPC protocol version.

Available options:
2.0
id
string
default:1
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getAccountInfo
required

The name of the RPC method to invoke.

Available options:
getAccountInfo
params
(string | Configuration Object · object)[]
required

Response

Successfully retrieved account information.

jsonrpc
string

The JSON-RPC protocol version.

Example:

"2.0"

result
object
id
integer

A unique identifier matching the request ID.

Example:

1

method
string

The method being called.

Example:

"getAccountInfo"

params
array

Parameters for the request.