Casper.Network.SDK
Show / Hide Table of Contents

Class RpcResponseExtensions

Helper class to extract common data from an RPC response.

Inheritance
object
RpcResponseExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Utils
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
Type Name Description
RpcResponse<TRpcResult> response
Returns
Type Description
string
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
Type Name Description
RpcResponse<TRpcResult> response
Returns
Type Description
TransactionHash
Type Parameters
Name Description
TRpcResult
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC