Class AccountHashKey
Stores an account in the global state.
Format: 32-byte length with prefix 'account-hash-'.
Inheritance
AccountHashKey
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
|
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
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
|
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
Implements