Class RpcResponseExtensions
Helper class to extract common data from an RPC response.
Inheritance
System.Object
RpcResponseExtensions
Namespace: Casper.Network.SDK.Utils
Assembly: Casper.Network.SDK.dll
Syntax
public static class RpcResponseExtensions : object
Methods
GetDeployHash<TRpcResult>(RpcResponse<TRpcResult>)
Retrieves the Deploy hash from an RpcResponse object.
Declaration
public static string GetDeployHash<TRpcResult>(this RpcResponse<TRpcResult> response)
Parameters
Type | Name | Description |
---|---|---|
RpcResponse<TRpcResult> | response |
Returns
Type | Description |
---|---|
System.String |
Type Parameters
Name | Description |
---|---|
TRpcResult |