Structures
-
Declaration
Swift
public struct AccountKey
extension AccountKey: Equatable
extension AccountKey: Hashable
-
Declaration
Swift
public struct PublicAddress
extension PublicAddress: Equatable
extension PublicAddress: Hashable
-
Declaration
Swift
public struct Balance
extension Balance: Equatable
extension Balance: Hashable
extension Balance: CustomStringConvertible
-
Provides a snapshot of account activity at a particular point in the ledger, as indicated by
See moreblockCount
.Declaration
Swift
public struct AccountActivity
-
Declaration
Swift
public struct OwnedTxOut
extension OwnedTxOut: Equatable
extension OwnedTxOut: Hashable
-
Declaration
Swift
public struct BlockMetadata
extension BlockMetadata: Equatable
extension BlockMetadata: Hashable
-
Declaration
Swift
public struct Transaction
extension Transaction: Equatable
extension Transaction: Hashable
-
Represents a single “output”
TxOut
from aTransaction
. Intended to be serialized and sent to the recipient of thatTxOut
. The recipient is able to useReceipt
to validate that a particularTxOut
was sent by whoever sent them theReceipt
, assuming the public key of theReceipt
and theTxOut
in question are the same and various other validation checks pass. TheReceipt
also contains the necessary information to determine whether an expected, incomingTxOut
‘sTx
has expired, in which case, if theTxOut
is not in the ledger at that point, then the correspondingTx
is no longer eligible to be accepted into consensus.Security
The
See moreReceipt
contains theTxOutConfirmationNumber
, which is used by the recipient as evidence that a particular party is the one who sent the correspondingTxOut
that theReceipt
represents. Therefore, care should be taken to ensure that only the sender and the recipient have access to theReceipt
, otherwise the recipient could be tricked into misattributing which party sent them a particularTxOut
.Declaration
Swift
public struct Receipt
extension Receipt: Equatable
extension Receipt: Hashable
-
Declaration
Swift
public enum MobUri
-
Declaration
Swift
public struct PaymentRequest
extension PaymentRequest: Equatable
extension PaymentRequest: Hashable
-
Declaration
Swift
public struct TransferPayload
extension TransferPayload: Equatable
extension TransferPayload: Hashable
-
Declaration
Swift
public struct Attestation
extension Attestation: CustomStringConvertible