Skip to main content
POST
Get the SOL balance of up to 100 accounts at one point in the past, in a single call. Each balance comes with the change that set it: its slot, time, the balance before and the signed delta.
  • Pass exactly one of slot or timestamp. timestamp is Unix seconds.
  • The balance is the last one at or before that point. lastBalanceChange.slot and timestamp belong to that change, not to the point you asked for.
  • balances keeps the order of accounts. An account that did not exist yet, or was closed with zero lamports, is null; found counts the rest.
  • 1 to 100 accounts per request.
Cost: 2 credits per call, counted against General RPS. Request setup and error handling: RPC quickstart. Billing: credits and limits.

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getHistoricalSolBalances
required

The name of the RPC method to invoke.

Available options:
getHistoricalSolBalances
Example:

"getHistoricalSolBalances"

params
object[]
required

A single configuration object with the accounts and one point in time.

Response

Historical SOL balances in request order.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
object

Balances in request order.