Class RpcResponseExtensions
Helper class to extract common data from an RPC response.
Inheritance
RpcResponseExtensions
Assembly: Casper.Network.SDK.dll
Syntax
public static class RpcResponseExtensions
Methods
|
Edit this page
View Source
GetDeployHash<TRpcResult>(RpcResponse<TRpcResult>)
Retrieves the Deploy hash from an RpcResponse object.
Declaration
public static string GetDeployHash<TRpcResult>(this RpcResponse<TRpcResult> response)
Parameters
Returns
Type Parameters
| Name |
Description |
| TRpcResult |
|
|
Edit this page
View Source
GetTransactionHash<TRpcResult>(RpcResponse<TRpcResult>)
Retrieves the Transaction hash from an RpcResponse object.
Declaration
public static TransactionHash GetTransactionHash<TRpcResult>(this RpcResponse<TRpcResult> response)
Parameters
Returns
Type Parameters
| Name |
Description |
| TRpcResult |
|