from Url
fun fromUrl(serviceAddress: String, httpClient: HttpClient? = null, httpRequestHeaders: Map<String, String>? = null): Sep06Service
Creates a Sep06Service from a known transfer server URL.
Use this method when you already know the transfer server URL and don't need to discover it from stellar.toml.
Return
Sep06Service configured with the specified transfer server endpoint
Example:
val sep06 = Sep06Service.fromUrl("https://api.anchor.example.com/sep6")Content copied to clipboard
Parameters
service Address
The base URL of the anchor's SEP-6 transfer server
http Client
Optional custom HTTP client for testing
http Request Headers
Optional custom headers for requests