Casper.Network.SDK
Show / Hide Table of Contents

Class HashKey

Stores a contract inmutably in the global state. Format: 32-byte length with prefix 'hash-'.

Inheritance
System.Object
GlobalStateKey
HashKey
Inherited Members
GlobalStateKey.Key
GlobalStateKey.KeyIdentifier
GlobalStateKey._GetRawBytesFromKey(String)
GlobalStateKey.RawBytes
GlobalStateKey.ToHexString()
GlobalStateKey.FromString(String)
GlobalStateKey.FromBytes(Byte[])
GlobalStateKey.GetBytes()
GlobalStateKey.ToString()
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class HashKey : GlobalStateKey

Constructors

HashKey(Byte[])

Declaration
public HashKey(byte[] key)
Parameters
Type Name Description
System.Byte[] key

HashKey(String)

Declaration
public HashKey(string key)
Parameters
Type Name Description
System.String key

Fields

KEYPREFIX

Declaration
public static string KEYPREFIX
Field Value
Type Description
System.String
In This Article
Back to top Maintained by MAKE Technology LLC