AnchorTransactionsInfo

public struct AnchorTransactionsInfo : Decodable, Sendable

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

Indicates whether the endpoint for retrieving multiple transaction records is supported and if authentication is required to access it.

See SEP-6 Transaction History

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

    Declaration

    Swift

    public let enabled: Bool
  • Indicates whether authentication is required to access the transactions 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