Casper.Network.SDK
Show / Hide Table of Contents

Class BlockIdentifier

A block identified by its hash or its height.

Inheritance
object
BlockIdentifier
Implements
IBlockIdentifier
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.Types
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
Type Description
Dictionary<string, object>

Implements

IBlockIdentifier
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC