Casper.Network.SDK
Show / Hide Table of Contents

Class AccountHashKey

Stores an account in the global state. Format: 32-byte length with prefix 'account-hash-'.

Inheritance
object
GlobalStateKey
AccountHashKey
Implements
IPurseIdentifier
IEntityIdentifier
Inherited Members
GlobalStateKey.Key
GlobalStateKey.KeyIdentifier
GlobalStateKey._GetRawBytesFromKey(string)
GlobalStateKey.RawBytes
GlobalStateKey.ToHexString()
GlobalStateKey.FromString(string)
GlobalStateKey.FromBytes(byte[])
GlobalStateKey.GetBytes()
GlobalStateKey.ToString()
GlobalStateKey.Equals(object)
GlobalStateKey.GetHashCode()
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class AccountHashKey : GlobalStateKey, IPurseIdentifier, IEntityIdentifier

Constructors

| Edit this page View Source

AccountHashKey(PublicKey)

Declaration
public AccountHashKey(PublicKey publicKey)
Parameters
Type Name Description
PublicKey publicKey
| Edit this page View Source

AccountHashKey(byte[])

Declaration
public AccountHashKey(byte[] key)
Parameters
Type Name Description
byte[] key
| Edit this page View Source

AccountHashKey(string)

Declaration
public AccountHashKey(string key)
Parameters
Type Name Description
string key

Fields

| Edit this page View Source

KEYPREFIX

Declaration
public static string KEYPREFIX
Field Value
Type Description
string

Methods

| Edit this page View Source

GetEntityIdentifier()

Returns an EntityIdentifier object as defined in the RPC schema for an account hash key.

Declaration
public Dictionary<string, object> GetEntityIdentifier()
Returns
Type Description
Dictionary<string, object>
| Edit this page View Source

GetPurseIdentifier()

Returns a PurseIdentifier object as defined in the RPC schema for an account hash key.

Declaration
public Dictionary<string, object> GetPurseIdentifier()
Returns
Type Description
Dictionary<string, object>

Implements

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