Structures
-
Declaration
Swift
public struct AccountKeyextension AccountKey: Equatableextension AccountKey: Hashable -
Declaration
Swift
public struct PublicAddressextension PublicAddress: Equatableextension PublicAddress: Hashable -
Declaration
Swift
public struct Balanceextension Balance: Equatableextension Balance: Hashableextension 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 OwnedTxOutextension OwnedTxOut: Equatableextension OwnedTxOut: Hashable -
Declaration
Swift
public struct BlockMetadataextension BlockMetadata: Equatableextension BlockMetadata: Hashable -
Declaration
Swift
public struct Transactionextension Transaction: Equatableextension Transaction: Hashable -
Represents a single “output”
TxOutfrom aTransaction. Intended to be serialized and sent to the recipient of thatTxOut. The recipient is able to useReceiptto validate that a particularTxOutwas sent by whoever sent them theReceipt, assuming the public key of theReceiptand theTxOutin question are the same and various other validation checks pass. TheReceiptalso contains the necessary information to determine whether an expected, incomingTxOut‘sTxhas expired, in which case, if theTxOutis not in the ledger at that point, then the correspondingTxis no longer eligible to be accepted into consensus.Security
The
See moreReceiptcontains theTxOutConfirmationNumber, which is used by the recipient as evidence that a particular party is the one who sent the correspondingTxOutthat theReceiptrepresents. 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 Receiptextension Receipt: Equatableextension Receipt: Hashable -
Declaration
Swift
public enum MobUri -
Declaration
Swift
public struct PaymentRequestextension PaymentRequest: Equatableextension PaymentRequest: Hashable -
Declaration
Swift
public struct TransferPayloadextension TransferPayload: Equatableextension TransferPayload: Hashable -
Declaration
Swift
public struct Attestationextension Attestation: CustomStringConvertible
View on GitHub
Structures Reference