Import
Signature
Check whether a network identifier represents public MainNet or TestNet.

Parameters

str
required
Network name, canonical short CAIP-2 identifier, or legacy long ID.

Returns

bool
True if the network is Algorand MainNet or TestNet, False otherwise.

Examples

See also

  • resolve_network: Resolve any alias to a canonical CAIP-2 identifier.
Source: ai_economy_sdk/network.py