Class QueryGlobalState
Inherited Members
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). |