FindPaymentPathsResponse

public struct FindPaymentPathsResponse : Decodable, Sendable

See Stellar developer docs

  • records found in the response.

    Declaration

    Swift

    public let records: [PaymentPathResponse]
  • Initializer - creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder containing the data

  • Initializer - creates a new instance with parameters

    Declaration

    Swift

    public init(records: [PaymentPathResponse])

    Parameters

    operations

    The payment operations received from the Horizon API

    links

    The links received from the Horizon API