OptionalconfigCustom network configuration (overrides network).
OptionalmarketsMarkets cache TTL in milliseconds (default: 60_000).
OptionalnetworkThe network environment to connect to (default: Network.TESTNET).
OptionalwebOptional WebSocket factory for custom runtimes/tests.
Defaults to globalThis.WebSocket.
Options for constructing an O2Client.
Provide either
network(to use a pre-configured environment) orconfig(for custom endpoint configuration). If neither is provided, defaults toNetwork.TESTNET.