@midnight-ntwrk/midnight-js-network-id v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-network-id / networkIdToHex
Function: networkIdToHex()
networkIdToHex(
networkId
):string
Converts a network ID to hex representation. Used for debugging.
Parameters
• networkId: NetworkId
The network ID to convert to hex.
Returns
string