Method: Nem::Transaction::MosaicSupplyChange#to_hash

Defined in:
lib/nem/transaction/mosaic_supply_change.rb

#to_hashHash

attributes must be CAMEL CASE for NIS params

Returns:

  • (Hash)


29
30
31
32
33
34
35
# File 'lib/nem/transaction/mosaic_supply_change.rb', line 29

def to_hash
  {
    mosaicId: mosaic_id.to_hash,
    supplyType: parse_type,
    delta: delta,
  }
end