OptionaladdressesPreloaded on-chain addresses. When supplied, create skips the
network round-trip that normally fetches them.
OptionalapiPre-built AftermathApi instance. When supplied, create uses it
directly and skips address discovery and Sui client setup entirely.
OptionalapiOverride for the API path segment between host and package prefix.
Defaults to "api". Override only when targeting a backend that
mounts the Aftermath API under a different path.
OptionalbaseExplicit override for the Aftermath API host (e.g.
"http://localhost:8080"). Useful for staging or local backends.
OptionalfullnodeExplicit override for the Sui fullnode URL.
OptionalnetworkThe target Sui network. Determines the canonical API host and Sui fullnode URL when no explicit overrides are supplied.
Options accepted by Aftermath.create. All fields are optional — pass
{}for the canonical mainnet setup.