Sep24FeeResponse

public struct Sep24FeeResponse : Decodable, Sendable

Response containing fee information for a deposit or withdrawal transaction.

This response is returned when querying the fee endpoint to determine the cost of a deposit or withdrawal operation before initiating the transaction.

See also:

  • [Sep24FeeRequest] for the corresponding request
  • SEP-0024
  • fee

    The total fee (in units of the asset involved) that would be charged to deposit/withdraw the specified amount of asset_code.

    Declaration

    Swift

    public let fee: Double
  • 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