Accepts the same wide network type the Sui client exposes, so getUnits(client.network)
composes. Narrowing to DeployedNetwork would reject that, and listing
'testnet' | 'mainnet' would be worse still: it admits exactly one value that always
throws while rejecting 'devnet' at compile time.
Accepts the same wide network type the Sui client exposes, so
getUnits(client.network)composes. Narrowing toDeployedNetworkwould reject that, and listing'testnet' | 'mainnet'would be worse still: it admits exactly one value that always throws while rejecting'devnet'at compile time.