class Nem::Transaction::Base
@attr [Integer] type @attr [Integer] fee @attr [Integer] timestamp @attr [Integer] deadline @attr [String] signer @attr [String] signature
Constants
- NETWORK
Attributes
deadline[R]
fee[R]
signature[R]
signer[R]
timestamp[R]
type[R]
Public Instance Methods
network(hex: false)
click to toggle source
# File lib/nem/transaction/base.rb, line 36 def network(hex: false) hex ? NETWORK[@network] : @network end
to_hash()
click to toggle source
# File lib/nem/transaction/base.rb, line 46 def to_hash raise NotImplementedError, "#{self.class}##{__method__} must be implemented." end
version()
click to toggle source
it can be override by child class @return [Integer]
# File lib/nem/transaction/base.rb, line 42 def version network(hex: true) + 1 end