Companion

object Companion

Functions

Link copied to clipboard
suspend fun fromDomain(domain: String, httpClient: HttpClient? = null, httpRequestHeaders: Map<String, String>? = null): FederationService

Creates a FederationService by discovering the federation server from stellar.toml.

Link copied to clipboard

Parses and validates a Stellar address into username and domain components.

Link copied to clipboard
suspend fun resolveStellarAddress(address: String, httpClient: HttpClient? = null, httpRequestHeaders: Map<String, String>? = null): FederationResponse

Resolves a Stellar address in a single call by auto-discovering the federation server.