Skip to content

ConsensusAddress

ratranqu edited this page Apr 26, 2021 · 2 revisions

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

public let data: Data

isEmpty

public var isEmpty: Bool 

description

public 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 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally