Class BlockIdentifier
A block identified by its hash or its height.
Inheritance
BlockIdentifier
Assembly: Casper.Network.SDK.dll
Syntax
public class BlockIdentifier : IBlockIdentifier
Constructors
|
Edit this page
View Source
BlockIdentifier(string)
Declaration
public BlockIdentifier(string hash)
Parameters
| Type |
Name |
Description |
| string |
hash |
|
|
Edit this page
View Source
BlockIdentifier(ulong)
Declaration
public BlockIdentifier(ulong height)
Parameters
| Type |
Name |
Description |
| ulong |
height |
|
Methods
|
Edit this page
View Source
GetBlockIdentifier()
Returns a BlockIdentifier object as defined in the RPC schema for a block.
Declaration
public Dictionary<string, object> GetBlockIdentifier()
Returns
Implements