Creates a caller without making a network request.
config.baseUrl takes precedence over config.network. If neither value
supplies a host, a later request fails with a normalized network error.
The caller stores the supplied configuration object, so later changes to
mutable request fields such as config.accessToken affect subsequent
requests. The derived host and endpoint are fixed at construction time.
The network, API host, endpoint, and optional access token.
The package or service path inserted after the API endpoint.
StaticapiReturns the canonical Aftermath API host for a Sui network.
To target a custom or local host, pass baseUrl in CallerConfig to the
constructor instead.
The Sui network whose host to return.
The network's HTTPS or local HTTP API host.
StaticdefaultReturns the canonical Sui fullnode URL for a network.
The network whose fullnode URL to return. undefined
defaults to mainnet.
The network's fullnode URL.
Provides the shared HTTP, transaction, event, and WebSocket transport logic used by the SDK's API clients.
Subclasses supply endpoint-specific methods and use the protected request helpers. Requests normalize HTTP, network, timeout, abort, and response decoding failures to
AftermathTransportError.