# getNetwork

Returns the network.

# Type

() => 'mainnet' | 'testnet' | 'regtest'

# Syntax

computer.getNetwork()

# Return value

Returns a string encoding the network.