curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_changes \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_changes",
"params": {
"block_id": 1,
"account_ids": [
"<string>"
],
"changes_type": "account_changes"
}
}
'{
"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
},
"type": "account_update",
"cause": {
"type": "not_writable_to_disk"
}
}
]
},
"id": "<string>",
"jsonrpc": "<string>"
}[Deprecated] Returns changes for a given account, contract or contract code for given block height or hash. Consider using changes instead.
curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_changes \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_changes",
"params": {
"block_id": 1,
"account_ids": [
"<string>"
],
"changes_type": "account_changes"
}
}
'{
"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
},
"type": "account_update",
"cause": {
"type": "not_writable_to_disk"
}
}
]
},
"id": "<string>",
"jsonrpc": "<string>"
}EXPERIMENTAL_changes It is a serializable view of StateChangesRequest.
Show child attributes