Skip to main content

@midnight-ntwrk/midnight-js-network-id v0.2.5 • API


Midnight.js API Reference v0.2.5 / @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.