Sep38InfoResponse

public struct Sep38InfoResponse : Decodable, Sendable

Response from the GET /info endpoint of SEP-38 Quote Service.

This response provides information about the assets supported by the anchor for quotes, including available delivery methods and country codes for each asset.

See SEP-38: GET /info

  • Array of assets supported by the anchor for quotes.

    Each asset includes information about supported delivery methods and country codes.

    Declaration

    Swift

    public let assets: [Sep38Asset]
  • 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