Class: Chain::Account
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- Chain::Account
- Defined in:
- lib/chain/account.rb
Defined Under Namespace
Classes: ClientModule, Key, Query
Instance Attribute Summary collapse
-
#alias ⇒ String
readonly
User specified, unique identifier.
-
#id ⇒ String
readonly
Unique account identifier.
-
#keys ⇒ Array<Key>
readonly
The list of keys used to create control programs under the account.
-
#quorum ⇒ Integer
readonly
The number of keys required to sign transactions for the account.
-
#tags ⇒ Hash
readonly
User-specified tag structure for the account.
Method Summary
Methods inherited from ResponseObject
#[], #[]=, #initialize, #to_h, #to_json
Constructor Details
This class inherits a constructor from Chain::ResponseObject
Instance Attribute Details
#alias ⇒ String (readonly)
User specified, unique identifier.
18 |
# File 'lib/chain/account.rb', line 18 attrib :alias |
#id ⇒ String (readonly)
Unique account identifier.
13 |
# File 'lib/chain/account.rb', line 13 attrib :id |
#keys ⇒ Array<Key> (readonly)
The list of keys used to create control programs under the account. Signatures from these keys are required for spending funds held in the account.
24 |
# File 'lib/chain/account.rb', line 24 attrib(:keys) { |raw| raw.map { |v| Key.new(v) } } |
#quorum ⇒ Integer (readonly)
The number of keys required to sign transactions for the account.
29 |
# File 'lib/chain/account.rb', line 29 attrib :quorum |
#tags ⇒ Hash (readonly)
User-specified tag structure for the account.
34 |
# File 'lib/chain/account.rb', line 34 attrib :tags |