AnchorFeeInfo

public struct AnchorFeeInfo : Decodable, Sendable

Information about the anchor’s GET /fee endpoint availability and requirements.

Indicates whether the endpoint for querying detailed fee information is supported and if authentication is required to access it.

See SEP-6 Fee

  • Indicates whether the GET /fee endpoint is supported by the anchor.

    Declaration

    Swift

    public let enabled: Bool
  • Indicates whether authentication is required to access the fee endpoint.

    Declaration

    Swift

    public let authenticationRequired: Bool?
  • 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