info
Gets anchor capabilities and supported assets.
Returns information about what assets the anchor supports for deposit and withdrawal, including limits, fees, and feature support. No authentication required.
Return
Sep24InfoResponse containing anchor capabilities
Parameters
lang
Optional language code (RFC 4646, e.g., "en", "es") for localized messages
Throws
On anchor server error
Example:
val info = sep24.info()
// Check deposit assets
info.depositAssets?.forEach { (code, assetInfo) ->
if (assetInfo.enabled) {
println("$code: min=${assetInfo.minAmount}, max=${assetInfo.maxAmount}")
}
}
// Check feature support
if (info.features?.claimableBalances == true) {
println("Anchor supports claimable balances")
}Content copied to clipboard