fetchServerConfiguration
fetchServerConfiguration(
optionsOrUrl):Promise<ServerConfiguration>
Defined in: sdks/js/browser-sdk/src/utils/serverConfiguration.ts:19
Reads what a backend publishes about itself with no database, no client, and no credential (spec 006 CFG-081).
An app can call this before it builds a client to learn whether the deployment requires auth, which scopes it requires, and which smart contract wallet chains it accepts.
Parameters
Section titled “Parameters”optionsOrUrl
Section titled “optionsOrUrl”string | NetworkOptions
The backend URL, or network options carrying it
Returns
Section titled “Returns”Promise<ServerConfiguration>
The configuration the backend publishes

