Class SpeculativeExecution
Inherited Members
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 |