Casper.Network.SDK
Show / Hide Table of Contents

Class GetEraInfoBySwitchBlock

Inheritance
System.Object
RpcMethod
GetEraInfoBySwitchBlock
Inherited Members
RpcMethod.JsonRpc
RpcMethod.Id
RpcMethod.Method
RpcMethod.Parameters
RpcMethod.SerializerOptions
RpcMethod.Serialize()
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetEraInfoBySwitchBlock : RpcMethod

Constructors

GetEraInfoBySwitchBlock(Int32)

Retrieves an EraInfo from the network given a switch block.

Declaration
public GetEraInfoBySwitchBlock(int height)
Parameters
Type Name Description
System.Int32 height

Block height of a switch block.

GetEraInfoBySwitchBlock(String)

Retrieves an EraInfo from the network given a switch block

Declaration
public GetEraInfoBySwitchBlock(string blockHash)
Parameters
Type Name Description
System.String blockHash

Block hash of a switch block.

In This Article
Back to top Maintained by MAKE Technology LLC