SEP-1
StellarToml
fromDomain(domain, options?)
fromDomain(domain, options?)import { StellarToml } from "@colibri/core";
const toml = await StellarToml.fromDomain("anchor.example.com");Options
interface FetchTomlOptions {
fetchFn?: typeof fetch; // Custom fetch implementation
}fromString(tomlString, options?, domain?)
fromString(tomlString, options?, domain?)const toml = StellarToml.fromString(tomlContent);
// With domain (useful for SEP-10)
const toml = StellarToml.fromString(tomlContent, {}, "anchor.example.com");Properties
Property
Type
Description
hasWebAuth()
hasWebAuth()sep10Config
sep10ConfigError Handling
Last updated