ConsensusAddress - CosmosSwift/swift-coin GitHub Wiki

ConsensusAddress

public struct ConsensusAddress: Address

Inheritance

Address

Initializers

init(data:)

public init(data: Data = Data())

init(from:)

public init(from decoder: Decoder) throws

init(hexEncoded:)

public init(hexEncoded: String) throws

init(bech32Encoded:)

public init(bech32Encoded: String) throws

Properties

data

let data: Data

isEmpty

var isEmpty: Bool

description

var description: String

Methods

encode(to:)

public func encode(to encoder: Encoder) throws

equals(_:)

public func equals(_ other: Address) -> Bool

marshal()

public func marshal() throws -> Data

marshalJSON()

public func marshalJSON() throws -> Data