Casper.Network.SDK
Show / Hide Table of Contents

Class SpeculativeExecution

Inheritance
System.Object
RpcMethod
SpeculativeExecution
Inherited Members
RpcMethod.JsonRpc
RpcMethod.Id
RpcMethod.Method
RpcMethod.Parameters
RpcMethod.SerializerOptions
RpcMethod.Serialize()
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class SpeculativeExecution : RpcMethod

Constructors

SpeculativeExecution(Deploy, String, Boolean)

Sends a "deploy dry run" to the network. It will execute the deploy on top of the specified block and return the results of the execution to the caller. The effects of the execution won't be committed to the trie (blockchain database/GlobalState). Endpoint can be used for debugging, discovery - for example price estimation.

Declaration
public SpeculativeExecution(Deploy deploy, string hash, bool isBlockHash)
Parameters
Type Name Description
Deploy deploy
System.String hash
System.Boolean isBlockHash
In This Article
Back to top Maintained by MAKE Technology LLC