Casper.Network.SDK
Show / Hide Table of Contents

Class GetBlock

Inheritance
object
RpcMethod
GetBlock
Inherited Members
RpcMethod.JsonRpc
RpcMethod.Id
RpcMethod.Method
RpcMethod.Parameters
RpcMethod.SerializerOptions
RpcMethod.Serialize()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetBlock : RpcMethod

Constructors

| Edit this page View Source

GetBlock(string)

Retrieves a Block from the network by its hash.

Declaration
public GetBlock(string blockHash)
Parameters
Type Name Description
string blockHash

Hash of the block to retrieve. Null for the most recent block.

| Edit this page View Source

GetBlock(ulong)

Retrieves a Block from the network by its height number.

Declaration
public GetBlock(ulong height)
Parameters
Type Name Description
ulong height

Height of the block to retrieve.

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