Skip to main content

getRuntimeNetworkId

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 / getRuntimeNetworkId

Function: getRuntimeNetworkId()

getRuntimeNetworkId(): NetworkId

Retrieves the currently set global network identifier as a runtime.NetworkId value.

Returns​

NetworkId

The currently set runtime.NetworkId.