Skip to main content
POST
/
changes
cURL
curl --request POST \
  --url https://api.example.com/changes \
  --header 'Content-Type: application/json' \
  --data '
{
  "params": {
    "block_id": 1,
    "account_ids": [
      "<string>"
    ]
  },
  "id": "dontcare",
  "jsonrpc": "2.0"
}
'
{
  "result": {
    "block_hash": "<string>",
    "changes": [
      {
        "change": {
          "account_id": "<string>",
          "amount": "<string>",
          "code_hash": "<string>",
          "locked": "<string>",
          "storage_usage": 1,
          "global_contract_account_id": "<string>",
          "global_contract_hash": "<string>",
          "storage_paid_at": 0
        },
        "cause": {}
      }
    ]
  },
  "id": "<string>",
  "jsonrpc": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.near.org/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
method
enum<string>
required
Available options:
changes
params
account_changes_by_block_id · object
required
id
string
default:dontcare

JSON-RPC request id. Auto-populated; can be any string.

jsonrpc
enum<string>
default:2.0

JSON-RPC protocol version. Always 2.0.

Available options:
2.0

Response

200 - application/json
result
object
required
id
string
required
jsonrpc
string
required