Class GetEraInfoBySwitchBlock
Inherited Members
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. |