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