State Changes
EXPERIMENTAL_changes request type
This endpoint allows you to get state changes on the NEAR blockchain.
Live Response
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
Request reference
application/jsonThis operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "changes",
"params": {
"finality": "final",
"changes_type": "account_changes",
"account_ids": [
"root.near"
]
}
}Request schema
object
requires jsonrpc, id, method, paramsjsonrpc *string2.0id *stringmethod *stringchangesparams *objectfinality *stringBlock finality
finalnear-finaloptimisticchanges_type *stringState change selector used by this example
account_changesaccount_ids *arrayAccounts whose state changes should be returned
itemsstringNEAR account ID
Response reference
200 application/jsonSuccessful response
Response schema
objectJsonRpcResponse
requires jsonrpc, idjsonrpc *string2.0id *one ofstringnumber
resultobjectblock_hash *stringBase58-encoded hash
changes *arrayitemsobjectcause *objectOne of multiple possible types
errorobjectcodeintegermessagestringdataobject