class Nis::Transaction::MultisigSignature

@attr [String] otherHash @attr [String] otherAccount @attr [Integer] type @attr [Integer] fee @attr [Integer] deadline @attr [Integer] timeStamp @attr [Integer] version @attr [String] signer @attr [String] signature @see nemproject.github.io/#multisigSignatureTransaction

Constants

TYPE

Attributes

deadline[RW]
fee[R]
network[RW]
otherAccount[RW]
otherHash[RW]
other_account[RW]
other_account=[RW]
other_hash[RW]
other_hash=[RW]
signature[RW]
signer[RW]
timeStamp[RW]
timestamp[RW]
type[R]
version[RW]

Public Class Methods

new(other_hash, other_account, signer, network: :testnet) click to toggle source
# File lib/nis/transaction/multisig_signature.rb, line 28
def initialize(other_hash, other_account, signer, network: :testnet)
  @type = TYPE
  @network = network

  @otherHash = { data: other_hash }
  @otherAccount = other_account
  @signer = signer
  @fee = Nis::Fee::Multisig.new(self)
end

Public Instance Methods

otherHash=(hash) click to toggle source
# File lib/nis/transaction/multisig_signature.rb, line 38
def otherHash=(hash)
  @otherHash = { data: hash }
end