Skip to main content

getZswapNetworkId

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

Function: getZswapNetworkId()

getZswapNetworkId(): NetworkId

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

Returns​

NetworkId

The currently set zswap.NetworkId.