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.
19 |
# File 'lib/chain/account.rb', line 19 attrib :alias |
#id ⇒ String (readonly)
Unique account identifier.
14 |
# File 'lib/chain/account.rb', line 14 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.
25 |
# File 'lib/chain/account.rb', line 25 attrib(:keys) { |raw| raw.map { |v| Key.new(v) } } |
#quorum ⇒ Integer (readonly)
The number of keys required to sign transactions for the account.
30 |
# File 'lib/chain/account.rb', line 30 attrib :quorum |
#tags ⇒ Hash (readonly)
User-specified tag structure for the account.
35 |
# File 'lib/chain/account.rb', line 35 attrib :tags |