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 blockCount.

    See more

    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 a Transaction. Intended to be serialized and sent to the recipient of that TxOut. The recipient is able to use Receipt to validate that a particular TxOut was sent by whoever sent them the Receipt, assuming the public key of the Receipt and the TxOut in question are the same and various other validation checks pass. The Receipt also contains the necessary information to determine whether an expected, incoming TxOut‘s Tx has expired, in which case, if the TxOut is not in the ledger at that point, then the corresponding Tx is no longer eligible to be accepted into consensus.

    Security

    The Receipt contains the TxOutConfirmationNumber, which is used by the recipient as evidence that a particular party is the one who sent the corresponding TxOut that the Receipt represents. Therefore, care should be taken to ensure that only the sender and the recipient have access to the Receipt, otherwise the recipient could be tricked into misattributing which party sent them a particular TxOut.

    See more

    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