Sep24InfoResponse

@Serializable
data class Sep24InfoResponse(val depositAssets: Map<String, Sep24AssetInfo>? = null, val withdrawAssets: Map<String, Sep24AssetInfo>? = null, val feeEndpoint: Sep24FeeEndpointInfo? = null, val features: Sep24Features? = null)

Response from the /info endpoint containing anchor capabilities and supported assets.

Provides information about what assets the anchor supports for deposit and withdrawal, fee configuration, and feature support such as claimable balances.

Constructors

Link copied to clipboard
constructor(depositAssets: Map<String, Sep24AssetInfo>? = null, withdrawAssets: Map<String, Sep24AssetInfo>? = null, feeEndpoint: Sep24FeeEndpointInfo? = null, features: Sep24Features? = null)

Properties

Link copied to clipboard
@SerialName(value = "deposit")
val depositAssets: Map<String, Sep24AssetInfo>?

Map of asset codes to deposit configuration

Link copied to clipboard
@SerialName(value = "features")
val features: Sep24Features?

Feature flags indicating anchor capabilities

Link copied to clipboard
@SerialName(value = "fee")
val feeEndpoint: Sep24FeeEndpointInfo?

Configuration for the optional /fee endpoint

Link copied to clipboard
@SerialName(value = "withdraw")
val withdrawAssets: Map<String, Sep24AssetInfo>?

Map of asset codes to withdrawal configuration