Protocols
The following protocols are available globally.
-
Protocol defining the interface for transaction memos that attach messages or data to Stellar transactions.
See moreDeclaration
Swift
public protocol MemoProtocol : Sendable -
Protocol for memos containing hash values with hex encoding capabilities.
See moreDeclaration
Swift
public protocol MemoHashProtocol : Sendable -
Specifies protocol for Account object used when creating an Transaction object.
See moreDeclaration
Swift
public protocol TransactionAccount : Sendable -
Protocol for fixed-size binary data wrappers used in XDR encoding.
WrappedData provides a type-safe way to handle fixed-size byte arrays in Stellar’s XDR protocol. Common sizes include 4, 12, and 32 bytes for various key types and hashes.
See moreDeclaration
Swift
public protocol WrappedData : Equatable, XDRDecodable, XDREncodable -
A protocol for types which can be decoded from binary.
See moreDeclaration
Swift
public protocol XDRDecodable : Decodable, Sendable -
A protocol for types which can be encoded to binary.
See moreDeclaration
Swift
public protocol XDREncodable : Encodable, Sendable
View on GitHub
Install in Dash
Protocols Reference