Skip to main content

getNetworkId

For the complete documentation index, see llms.txt

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-network-id / getNetworkId

Function: getNetworkId()

getNetworkId(): NetworkId

Retrieves the currently set global network identifier.

Returns​

NetworkId

The currently set NetworkId.