Parameters
chainId
string
default:"398"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"EXPERIMENTAL_changes_in_block"
required
JSON-RPC method name.
Parameters for EXPERIMENTAL_changes_in_block:params.finality: Optional finality condition. Use instead of block_id.params.block_id: Optional block ID. Use instead of finality.
Returns
The JSON-RPC result.
Hash of the block these changes are from
List of state changes in this block
Type of state change (e.g. account, access_key, contract_code)
The actual state change object, depends on the change type
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=398 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "EXPERIMENTAL_changes_in_block",
"params": {
"block_id": 187310138
}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"block_hash": "6RWmTYhXCzjMjoY3Mz1rfFcnBm8E6XeDDbFEPUA4sv1w",
"changes": [
{
"account_id": "account.rpc-examples.testnet",
"type": "account_touched"
},
{
"account_id": "dev2-nsp.testnet",
"type": "account_touched"
},
{
"account_id": "ping-account.testnet",
"type": "account_touched"
},
{
"account_id": "v1.signer-dev.testnet",
"type": "account_touched"
},
"..."
]
}
}