Creates an instance of the SpeculativeClient.
The handler used to process RPC requests.
Private handlerExecutes a speculative transaction on the Casper Network.
A promise that resolves to a SpeculativeExecResult, which contains the results of the speculative execution.
If the handler response is empty or if an error occurs while processing the RPC call or parsing the response.
The request identifier for the RPC call.
The deploy object that represents the transaction to be executed.
Optional identifier: BlockIdentifier(Optional) The block identifier where the speculative transaction should be executed.
Static newStatic method to create a new SpeculativeClient instance.
A new instance of the SpeculativeClient.
The handler used to process RPC requests.
Generated using TypeDoc
A client for interacting with the speculative execution endpoint in the Casper Network. This class is responsible for executing speculative transactions on the Casper Network and processing their responses.