Class: OnyxMesh::Stats
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- OnyxMesh::Stats
- Defined in:
- lib/onyx_mesh/stats.rb
Overview
An object describing summary information about a ledger.
Defined Under Namespace
Classes: ClientModule
Instance Attribute Summary collapse
-
#account_count ⇒ Integer
readonly
The number of accounts in the ledger.
-
#asset_count ⇒ Integer
readonly
The number of assets in the ledger.
-
#ledger_type ⇒ Integer
readonly
The ledger type.
-
#tx_count ⇒ Integer
readonly
The number of transactions in the ledger.
Method Summary
Methods inherited from ResponseObject
#[], #[]=, #initialize, #to_h, #to_json
Constructor Details
This class inherits a constructor from OnyxMesh::ResponseObject
Instance Attribute Details
#account_count ⇒ Integer (readonly)
The number of accounts in the ledger.
19 |
# File 'lib/onyx_mesh/stats.rb', line 19 attrib :account_count |
#asset_count ⇒ Integer (readonly)
The number of assets in the ledger.
14 |
# File 'lib/onyx_mesh/stats.rb', line 14 attrib :asset_count |
#ledger_type ⇒ Integer (readonly)
The ledger type. Value can be 'dev' or 'prod'.
29 |
# File 'lib/onyx_mesh/stats.rb', line 29 attrib :ledger_type |
#tx_count ⇒ Integer (readonly)
The number of transactions in the ledger.
24 |
# File 'lib/onyx_mesh/stats.rb', line 24 attrib :tx_count |