Sep24InfoResponse
public struct Sep24InfoResponse : Decodable, Sendable
Response containing information about an anchor’s supported assets and features.
This response is returned from the /info endpoint and provides clients with details about which assets are supported for deposits and withdrawals, along with fee information and supported features.
See also:
- [InteractiveService.getInfo] for the method that returns this response
- SEP-0024
-
Dictionary of assets supported for deposit, keyed by asset code.
Declaration
Swift
public let depositAssets: [String : Sep24DepositAsset]? -
Dictionary of assets supported for withdrawal, keyed by asset code.
Declaration
Swift
public let withdrawAssets: [String : Sep24WithdrawAsset]? -
Information about the fee endpoint if available.
Declaration
Swift
public let feeEndpointInfo: Sep24FeeEndpointInfo? -
Feature flags indicating which optional features are supported.
Declaration
Swift
public let featureFlags: Sep24FeatureFlags? -
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash