PaymentPathResponse
public struct PaymentPathResponse : Decodable, Sendable
Represents a Payment Path response. See Stellar developer docs
-
An array of assets that represents the intermediary assets this path hops through
Declaration
Swift
public let path: [OfferAssetResponse] -
An estimated cost for making a payment of destination_amount on this path. Suitable for use in a path payments sendMax field
Declaration
Swift
public let sourceAmount: String -
The destination amount specified in the search that found this path
Declaration
Swift
public let destinationAmount: String -
The type for the destination asset specified in the search that found this path
Declaration
Swift
public let destinationAssetType: String -
The code for the destination asset specified in the search that found this path
Declaration
Swift
public let destinationAssetCode: String? -
The issuer for the destination asset specified in the search that found this path
Declaration
Swift
public let destinationAssetIssuer: String? -
The type for the source asset specified in the search that found this path
Declaration
Swift
public let sourceAssetType: String -
The code for the source asset specified in the search that found this path
Declaration
Swift
public let sourceAssetCode: String? -
The issuer for the source asset specified in the search that found this path
Declaration
Swift
public let sourceAssetIssuer: String? -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash