Class GetEraInfoBySwitchBlock
Inherited Members
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetEraInfoBySwitchBlock : RpcMethod
Constructors
| Edit this page View SourceGetEraInfoBySwitchBlock(string)
Retrieves an EraInfo from the network given a switch block
Declaration
public GetEraInfoBySwitchBlock(string blockHash)
Parameters
| Type | Name | Description |
|---|---|---|
| string | blockHash | Block hash of a switch block. |
GetEraInfoBySwitchBlock(ulong)
Retrieves an EraInfo from the network given a switch block.
Declaration
public GetEraInfoBySwitchBlock(ulong height)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | height | Block height of a switch block. |