Skip to main content

Eniblock.setNetwork() method

Set the current blockchain Network in the sdk config

Please restart notifications after changing network: wallet.on()

Signature:

setNetwork(network: NetworkEnum): Promise<void>;

Parameters

ParameterTypeDescription
networkNetworkEnum

Returns:

Promise<void>