Method: Bitcoin::Transaction#amounts
- Defined in:
- lib/bc.rb
#amounts ⇒ Object (readonly)
This is a Hash whose keys are the (String) bitcoin addresses involved in the transaction (whose private keys bitcoind has) and whose values are the (Float) amounts that the corresponding address gained (in which case the value would be positive) or lost (in which case the value would be negative).
229 230 231 |
# File 'lib/bc.rb', line 229 def amounts @amounts end |