Function casper_client::get_state_root_hash
source · pub async fn get_state_root_hash(
rpc_id: JsonRpcId,
node_address: &str,
verbosity: Verbosity,
maybe_block_identifier: Option<BlockIdentifier>
) -> Result<SuccessResponse<GetStateRootHashResult>, Error>
Expand description
Retrieves a state root hash at a given Block
.
Sends a JSON-RPC chain_get_state_root_hash
request to the specified node.
For details of the parameters, see the module docs.