curl https://mainnet.casper.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"id":1,"jsonrpc":"2.0","method":"chain_get_state_root_hash","params":[]}'
This method returns a state root hash at a given Block. If you do not specify a block_identifier, you will receive the highest state root hash.
This method will use 10
Compute Units.
block_identifier
- object
the block identifier hash or height [BlockIdentifier]
api_version
- string
RPC API version
state_root_hash
- string
hex-encoded hash digest