Class: Chain::Balance

Inherits:
ResponseObject show all
Defined in:
lib/chain/balance.rb

Defined Under Namespace

Classes: ClientModule, Query

Instance Attribute Summary collapse

Method Summary

Methods inherited from ResponseObject

#[], #[]=, #initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from Chain::ResponseObject

Instance Attribute Details

#amountInteger (readonly)

Sum of the unspent outputs.

Returns:

  • (Integer)


11
# File 'lib/chain/balance.rb', line 11

attrib :amount

#sum_byHash<String => String> (readonly)

List of parameters on which to sum unspent outputs.

Returns:

  • (Hash<String => String>)


16
# File 'lib/chain/balance.rb', line 16

attrib :sum_by