@midnight-ntwrk/midnight-js-network-id v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-network-id / getLedgerNetworkId
Function: getLedgerNetworkId()
getLedgerNetworkId():
NetworkId
Retrieves the currently set global network identifier as a ledger.NetworkId value.
Returns
NetworkId
The currently set ledger.NetworkId.