class Nem::Transaction::MultisigSignature
@attr [String] other_hash
@attr [String] other_account
@attr [String] signer
Constants
- TYPE
Attributes
other_account[R]
other_hash[R]
signer[R]
Public Class Methods
new(other_hash, other_account, signer, timestamp: nil, deadline: nil, network: nil)
click to toggle source
# File lib/nem/transaction/multisig_signature.rb, line 11 def initialize(other_hash, other_account, signer, timestamp: nil, deadline: nil, network: nil) @other_hash = other_hash @other_account = other_account @signer = signer @network = network || Nem.default_network @type = TYPE @fee = Nem::Fee::Multisig.new(self) @timestamp = timestamp || Time.now @deadline = deadline || Time.now + Nem.default_deadline end
Public Instance Methods
to_hash()
click to toggle source
attributes must be CAMEL CASE for NIS params @return [Hash]
# File lib/nem/transaction/multisig_signature.rb, line 25 def to_hash { otherHash: { data: other_hash }, otherAccount: other_account, signer: signer } end