getNetworkID()

Network ID is same with chain ID. Because it is required when creating all operations, set the exact network ID of the network to which the operation will be sent. Even if it is not set, 'mitum' is set as the default value.

Feature
Get the network ID in use.

Parameters

null

Return Value

string networkID

example

const info = mitum.getNetworkID();
console.log(info);

// output
mitum

Last updated