Function casper_client::speculative_exec
source · pub async fn speculative_exec(
rpc_id: JsonRpcId,
node_address: &str,
block_identifier: Option<BlockIdentifier>,
verbosity: Verbosity,
deploy: Deploy
) -> Result<SuccessResponse<SpeculativeExecResult>, Error>
Expand description
Puts a Deploy
to a single node for speculative execution on that node only.
Sends a JSON-RPC speculative_exec
request to the specified node.
For details of the parameters, see the module docs.