Casper.Network.SDK
Show / Hide Table of Contents

Class QueryGlobalState

Inheritance
System.Object
RpcMethod
QueryGlobalState
Inherited Members
RpcMethod.JsonRpc
RpcMethod.Id
RpcMethod.Method
RpcMethod.Parameters
RpcMethod.SerializerOptions
RpcMethod.Serialize()
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class QueryGlobalState : RpcMethod

Constructors

QueryGlobalState(String, StateIdentifier, String[])

A query to the global state that returns a stored value from the network.

Declaration
public QueryGlobalState(string key, StateIdentifier stateIdentifier = null, string[] path = null)
Parameters
Type Name Description
System.String key

A global state key formatted as a string to query the value from the network.

StateIdentifier stateIdentifier

(Optional) A block hash, a block height or a state root hash value.

System.String[] path

The path components starting from the key as base (use '/' as separator).

In This Article
Back to top Maintained by MAKE Technology LLC