AnchorTransactionInfo

public struct AnchorTransactionInfo : Decodable, Sendable

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

Indicates whether the endpoint for retrieving a single transaction record by ID is supported and if authentication is required to access it.

See SEP-6 Single Transaction

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

    Declaration

    Swift

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