getSolBalanceChangesForAddress

Every change to a wallet’s SOL balance, with before and after values.

2 credits a call. Free plan includes 500,000 credits a month.

What it returns

Each row is one transaction that moved the wallet’s SOL: the signed change, the balance before and after, slot, time, and whether the wallet signed or paid the fee.

Fees, rent and tips show up too, not only transfers. Filter by direction, time, slot or minimum size, newest or oldest first.

What you can build

  • SOL ledgers

    Build an exact SOL ledger for tax, fees and rent included.

  • Bot cost tracking

    Sum fees and tips a trading bot paid, per day.

  • Large inflow alerts

    Use minAbsChange to list only moves above a size.

  • Balance charts

    Draw a wallet’s SOL balance after every transaction.

Call it

Replace the URL with your endpoint from the dashboard.

getSolBalanceChangesForAddress2 credits

Request

curl "$SOLANA_RPC_URL" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getSolBalanceChangesForAddress",
  "params": [
    "H8sMJSCQxfKiFTCfDR3DUMLPwcRbM61LGFJ8N4dK3WjS",
    {
      "sortOrder": "desc",
      "limit": 100,
      "direction": "all"
    }
  ]
}'

Response shape

{
  "data": [
    {
      "confirmationStatus": "finalized",
      "change": {
        "signature": "…",
        "direction": "out",
        "change": "-…",
        "preBalance": "…",
        "postBalance": "…",
        "uiAmountString": "-…",
        "blockTime": "…",
        "slot": "…",
        "isFeePayer": true
      }
    }
  ],
  "paginationToken": "…"
}

Parameters

addressstring
The wallet. First positional parameter.
sortOrder"desc" | "asc"
Default desc, newest first.
limitnumber
Up to 1,000 rows a page. Default 100.
direction"in" | "out" | "all"
Only incoming or outgoing changes.
blockTime / slotrange
Bounds as { gte, gt, lte, lt, eq }.
minAbsChangenumber
Smallest change to return, in lamports.
paginationTokenstring
From the previous page, with the same config.

Good to know

  • Oldest-first needs a lower bound: blockTime.gte or a slot lower bound.

Start calling getSolBalanceChangesForAddress.

Free to start. Paid plans from €39 a month.