AssetBalanceChange
public final class AssetBalanceChange : Decodable, Sendable
Represents an asset balance change resulting from a Soroban contract invocation.
-
Asset type (native / alphanum4 / alphanum12).
Declaration
Swift
public let assetType: String -
Asset code (if not native).
Declaration
Swift
public let assetCode: String? -
Asset issuer (if not native).
Declaration
Swift
public let assetIssuer: String? -
Type of balance change (transfer, mint, burn, etc.).
Declaration
Swift
public let type: String -
Source account of the transfer (if applicable).
Declaration
Swift
public let from: String? -
Destination account of the transfer.
Declaration
Swift
public let to: String -
Amount transferred or changed.
Declaration
Swift
public let amount: String -
Multiplexed ID of the destination account (if used).
Declaration
Swift
public let destinationMuxedId: String? -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public required init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash