Class GetItem
Inherited Members
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetItem : RpcMethod
Constructors
GetItem(String, String, List<String>)
Returns a stored value from the network. This RPC is deprecated, use QueryGlobalState
instead.
Declaration
public GetItem(string key, string stateRootHash, List<string> path = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | GlobalStateKey as a string. |
System.String | stateRootHash | Hash of the state root. |
List<System.String> | path | The path components starting from the key as base (use '/' as separator). |