Configuration
Without
network, the client defaults to "testnet" and logs one notice the first time a call
omits it. It also logs once if baseUrl is plaintext http:// on a non-local host.
Keep the API key server-side. Never ship it to a browser.
Methods
Every method on a network route takes an optional trailingnetwork that overrides the client default. Every method then takes an optional { signal } (an AbortSignal) to cancel the request. All of them call the /v1 paths; health() and healthDeep() call the unversioned operational routes.
runClose is a standalone function, not a client method. See runClose.
Integrator client
LumenWipeIntegratorClient manages a wallet’s own API keys. It takes baseUrl and the optional fetch, timeout, retry and logger, and no API key: it never sends one. Sign in by signing the challenge message with the wallet (SEP-53) and exchanging it for a session token, valid for 30 minutes. A contract account signs the account’s entry of contractChallenge with its own signer instead, for example with authorizeEntry from @stellar/stellar-sdk, and exchanges the list through contractSession. The key methods send only that token.
Creating, revoking and rotating a key are never retried.
Each method maps to an endpoint in the API reference.