StandardTransaction - CosmosSwift/swift-coin GitHub Wiki
StandardTransaction
public struct StandardTransaction: Transaction
Inheritance
Transaction
Initializers
init(messages:fee:signatures:memo:)
public init(messages: [Message], fee: StandardFee, signatures: [StandardSignature], memo: String)
init(from:)
public init(from decoder: Decoder) throws
Properties
metaType
let metaType: MetaType
maxGasWanted
let maxGasWanted
messages
let messages: [Message]
fee
let fee: StandardFee
signatures
let signatures: [StandardSignature]
memo
let memo: String
encoded
var encoded: Data?
Methods
encode(to:)
public func encode(to encoder: Encoder) throws
validateBasic()
public func validateBasic() throws