Class Account


  • public class Account
    extends java.lang.Object
    Structure representing a user's account, stored in global state.
    Since:
    0.0.1
    • Constructor Detail

      • Account

        public Account()
      • Account

        public Account​(java.lang.String hash,
                       ActionThresholds deployment,
                       java.util.List<AssociatedKey> associatedKeys,
                       java.lang.String mainPurse,
                       java.util.List<NamedKey> namedKeys)
    • Method Detail

      • getHash

        public java.lang.String getHash()
        account_hash(String) Hex-encoded account hash.
      • getMainPurse

        public java.lang.String getMainPurse()
        main_purse(String) Hex-encoded, formatted URef.
      • getNamedKeys

        public java.util.List<NamedKey> getNamedKeys()
        named_keys (@link NamedKey)
      • setHash

        public void setHash​(java.lang.String hash)
        account_hash(String) Hex-encoded account hash.
      • setMainPurse

        public void setMainPurse​(java.lang.String mainPurse)
        main_purse(String) Hex-encoded, formatted URef.
      • setNamedKeys

        public void setNamedKeys​(java.util.List<NamedKey> namedKeys)
        named_keys (@link NamedKey)